I think you really mean to have 192.168.1.76 and 192.168.1.79 (instead of
192.164.1.76 and 192.164.1.79 respectively), don't you?

Assuming that, and assuming you have PUBLIC_INTERFACE=<something
appropriate>, you need to have:

iptables --table nat --append POSTROUTING --out-interface
${PUBLIC_INTERFACE} --source 192.168.1.76 --jump SNAT --to-source
200.40.197.68
iptables --table nat --append POSTROUTING --out-interface
${PUBLIC_INTERFACE} --source 192.168.1.79 --jump SNAT --to-source
200.40.197.69

Cheers,
irc


----- Original Message -----
From: "Pablo Allietti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, 12 December, 2002 19:19
Subject: Iptables Again jeje


Pablo:

I have a private nework with dhcp, 192.168.1.1

i need thats my clients give internet acces with diferents reals ips.
examples

the client 192.164.1.76 go outside with 200.40.197.68
the client 192.164.1.79 go outside with 200.40.197.69

--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list




-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to