On Sat, 19 May 2001, Rebecca wrote:

>  /sbin/ipchains -A input -p tcp -s 0.0.0.0/0 -d x.x.x.2 80 -l -j ACCEPT
>  /sbin/ipchains -A input -p tcp -s 0.0.0.0/0 -d x.x.x.2 53 -l -j ACCEPT
>  /sbin/ipchains -A input -p udp -s 0.0.0.0/0 -d x.x.x.2 53 -l -j ACCEPT
>  /sbin/ipchains -A input -i eth0 -j ACCEPT
>  /sbin/ipchains -A input -s 0.0.0.0/0 -l -j DENY


Try this:
/sbin/ipchains -A input -i ppp0 -p tcp -s 0.0.0.0/0 -d x.x.x.2 80 -j ACCEPT
/sbin/ipchains -A input -i ppp0 -p tcp -s 0.0.0.0/0 -d x.x.x.2 53 -j ACCEPT
/sbin/ipchains -A input -i ppp0 -p udp -s 0.0.0.0/0 -d x.x.x.2 53 -j ACCEPT
/sbin/ipchains -A input -i ppp0 -s 0.0.0.0/0 -d x.x.x.2 -l -j DENY

And you will see the difference.
If your interface to the internet in not ppp0, put your own.

-- 
Cristian Paslaru
http://devel.iasi.ro


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to