----- Original Message -----
From: "KRYPTON" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 27, 2000 5:52 PM
Subject: [plug] 1 invalid IP
> Scenario:
> On my 1st server I masq'rded a local IP addresses which is 192.168.X.X,
> this ips will be used by all users.
> on the other server I have a local IPs which is 172.16.X.X..
>
> Question: how can i restrict my users to use 172.16.X.X? I only want one
ip
> to work like 172.16.0.2 then the rest of the
> ips will be invalid or will not work ever if configured properly...
> is this possible???? if yes then can anyone give me an idea how...
> please advice
Then this will do:
ichains -A forward -j MASQ -i eth1 -s 172.16.0.2 -d 0.0.0.0/0
Assuming your eth1 is the card facing the ISP.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]