Re: Iptables Again jeje

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

 



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" <pabloa@inia.org.uy>
To: <psyche-list@redhat.com>
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
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux