Correct Port Knocking HOWTO for iptables 1.4.12

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-08-09 16:22:46 -07:00
parent ac8617bdc8
commit c923dfdade

View File

@ -108,7 +108,7 @@ if ( $level ) {
'',
$tag,
'add',
'-p tcp --dport ! 22 ' );
'-p tcp ! --dport 22 ' );
}
add_rule( $chainref, '-p tcp --dport 22 -m recent --rcheck --seconds 60 --name SSH -j ACCEPT' );