ipchains to iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux