Baishampayan Ghose wrote:
Oh, I thought you wanted to NAT the IPs 172.16.0.0/16. What you just
said can also be solved easily. Just do this then --
$ iptables -t nat -A POSTROUTING -s 172.16.0.1/2 -j SNAT --to GateWayIP
$ iptables -t nat -A POSTROUTING -s 172.16.0.12/16 -j SNAT --to GateWayIP
and leave the others alone (this is considering that you want to NAT
only 172.16.0.1-2 & 172.16.0.12-16 and not NAT the rest).
If you want you can enter each IP by hand if there is no range which you
can use.
Hope this helps ...
Regards,
BG


thanks, i'll try this and let you know the results.

- t.
--
cogito, ergo es.

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to