hi

to allow anything out and to allow only connections only to some
specific ports
replace your external interface that will recv the incomming connections

iptables -P INPUT DROP
iptables -A INPUT -i <ext i/f> -p TCP -m state --state
RELATED,ESTABLISHED -j ACCEPT
iptables -A INPUT -i <external i/f> -p TCP --dport 110 -j ACCEPT

iptables -A OUTPUT -o <ext i/f> -s <your IP> -j ACCEPT

HTH

Happy Hacking

Manikandan P.


-- 
 Computers are like Air Conditioners ,they stop working when you open
Windows
 ;-D




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to