Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:user-guide:services:portknock.server [2018/02/19 21:41] – ↷ Links adapted because of a move operation docs:guide-user:services:remote_control:portknock.server [2020/10/06 03:36] (current) – obsolete proto=tcpudp to avoid luci-specific compatibility issues: https://forum.openwrt.org/t/is-tcpudp-a-valid-protocol-name/76048 vgaetera
Line 1: Line 1:
- +======Port knocking server knockd ======
-====== knockd server ======+
 Knockd is a port knocking daemon, a program that listens for specific packets on specific ports, and will run a command when it hears the correct sequence.  It is used to hide ports from public view for better privacy/security. Knockd is a port knocking daemon, a program that listens for specific packets on specific ports, and will run a command when it hears the correct sequence.  It is used to hide ports from public view for better privacy/security.
  
  
 ===== Preparation ===== ===== Preparation =====
-Read http://www.portknocking.org/ for background on the process of port forwarding.+Read http://www.portknocking.org/ ([[https://web.archive.org/web/20190710115023/http://www.portknocking.org/|archive.org 20190710]]) for background on the process of port forwarding.
  
 ==== Required Packages ==== ==== Required Packages ====
Line 15: Line 14:
  
 ===== Installation ===== ===== Installation =====
-[[docs:user-guide:additional-software:opkg]]+[[docs:guide-user:additional-software:opkg]]
 <code bash> <code bash>
 opkg install knockd opkg install knockd
Line 213: Line 212:
 #        option 'name' 'ssh' #        option 'name' 'ssh'
 #        option 'src' 'wan' #        option 'src' 'wan'
-#        option 'proto' 'tcpudp'+#        option 'proto' 'tcp udp'
 #        option 'src_dport' '5555' #        option 'src_dport' '5555'
 #        option 'dest_ip' '192.168.1.100' #        option 'dest_ip' '192.168.1.100'
Line 328: Line 327:
  
 ===== Notes ===== ===== Notes =====
 +
 +OpenWrt 18.06.4 appears to lack the knock/knockd package describe above; however, there are efforts to provide this package for the v18.06 (and hopefully beyond).  Links to those Github repos from those folks are as follows:
 +  * [[https://github.com/milaq/openwrt_knockd|milaq/openwrt_knockd]]
 +  * [[https://github.com/superice119/openwrt_knockd|superice119/openwrt_knockd]]
 +  * [[https://github.com/TDFKAOlli/openwrt_knockd|TDFKAOlli/openwrt_knockd]]
  • Last modified: 2020/10/06 03:36
  • by vgaetera