Hi
I need help w/ simple iptables rules.
Needs:
to only allow ssh packets in and they would be over an
ethernet interface.
allow all outbound traffic
Rule set I am working with.
iptables -N block
iptables -A block -p tcp --syn --destination-port 22 -j ACCEPT
iptables -A block -p tcp --syn -j DROP
iptables -A block -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A block -m state --state NEW -i ! eth0 -j ACCEPT
iptables -A block -j DROP
iptables -A INPUT -j block
iptables -A FORWARD -j block
TIA
Brian
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]