This is result of last week discussion about port knockers.
Its my second bash script (first is my firewall), so any feedback will be 
appreshiated ;) 

usage: ./knocker.sh <config file name> del 
Path to config file is constant in knocker.sh.
 del - is optional, simply deletes target chain 

script has no limits on knock sequences, and demands statefull filtering 
enabled 
ipt -i $IF_INET -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

 

Attachment: knocker.sh
Description: Binary data

Attachment: test
Description: Binary data

Reply via email to