[lug] IPCHAINS again.

John Starkey jstarkey at advancecreations.com
Mon Oct 16 11:11:08 MDT 2000


I'm setting up a remote machine, so I don't wanna lock myself out, and as
many of you know I have really bad luck with ipchains.

ipchains -P input DENY
ipchains -P output DENY
ipchains -P forward DENY

ipchains -A input -p tcp -s xx.xx.xx.xx -d xx.xx.xx.xx 22 -j ACCEPT
ipchains -A output -p tcp -s xx.xx.xx.xx -d xx.xx.xx.xx 22 -j ACCEPT

This should allow me to SSH in while I config the rest of the rulesets,
correct?? 

Thanks,

John





More information about the LUG mailing list