blib/etc/balance/firewall/01.accept.pl untested

filter: Statementstmt 0.0% 0 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 1 SCAR -
1 # The next line enables ssh logins from the LAN to the router
2 $B->iptables("-A INPUT -p tcp -s",$B->net($_),"--syn --dport ssh -j ACCEPT") foreach $B->lan_services;
3  
4 # To enable ssh logins from other sources, including the Internet, uncomment the following statement
5 #$B->iptables(['-A INPUT -p tcp --syn --dport ssh -m limit --limit 1/s --limit-burst 10 -j ACCEPT',
6 # '-A INPUT -p tcp --syn --dport ssh -j DROPFLOOD']);