[Cialug] IPTables Concept
Jerry Heiselman
jweida at gmail.com
Thu Oct 26 21:01:16 CDT 2006
You need two rules. One allowing the setup of the connection on port
22 and one allowing established connections to continue. I am not
sure about the syntax in iptables, but I would imagine it might look
something like:
ipfw -p INPUT -dport 22 -flags setup -j ALLOW
ipfw -p INPUT -dport 22 -flags established -j ALLOW
ipfw -p OUTPUT -flags established -j ALLOW
Warning: Untested, probably not even valid syntax. Just to give you an idea.
--
Jerry
More information about the Cialug
mailing list