ipchains to iptables

Toto Gamez egamez at bonheur.com.ph
Wed Mar 31 06:36:16 UTC 2004


lists,

I want my to share my internet connection and restrict other to access only pop3 and smtp given by our provider so they can send/receive email and not to browse the internet. how can I do that using iptables. I can do that in ipchains using "ipchains -A forward -s 192.168.100.2 -d 0/0 -j MASQ" to browse and access internet and  "ipchains -A forward -s 192.168.100.3 -d 1.2.3.4 -j MASQ"  to access 1.2.3.4. I already activated ip forwarding on my machine 

any help will be greatly appreciated


thanks

Toto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20040331/d46f1d71/attachment.htm>


More information about the redhat-list mailing list