[plug] INPUT chain

Subba Rao subb3 at ibm.net
Fri Aug 27 21:08:16 WST 1999


My INPUT chain has the ACCEPT policy, on my linux gateway. This system has
2 interfaces. One is a modem interface (Internet) and the other is a ethernet interface (Intranet).

EXERCISE

For the modem interface, I setup the following rules,

$ ipchains -A input -i ppp0 -p 21 -j DENY
$ ipchains -A input -i ppp0 -p 23 -j DENY
$ ipchains -A input -i ppp0 -p 80 -j DENY

My goal in this exercise is to prevent outside telnet, ftp and www access
to my gateway.

RESULTS



More information about the plug mailing list