<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>lists,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>any help will be greatly appreciated</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Toto</FONT></DIV></BODY></HTML>