All of lore.kernel.org
 help / color / mirror / Atom feed
* multiple mapping
@ 2004-09-01  7:59 Tomek Macioszek
  2004-09-01 11:07 ` John A. Sullivan III
  2004-09-01 16:44 ` Jose Maria Lopez
  0 siblings, 2 replies; 4+ messages in thread
From: Tomek Macioszek @ 2004-09-01  7:59 UTC (permalink / raw)
  To: Netfilter

Hi
I have my FIREWALL BOX with address 4.3.2.1 (eth0) and local address 192.168.10.0/24.
Now I have SNAT:
iptables -t nat -A POSTROUTING -s 192.168.10.0/24 -o eth1 -j SNAT --to 4.3.2.1
I would like to make SNAT with i.e two external address.
iptables -t nat -A POSTROUTING -s 192.168.10.0/28 -o eth1 -j SNAT --to 4.3.2.1
iptables -t nat -A POSTROUTING -s 192.168.10.128/28 -o eth1 -j SNAT --to 4.3.2.2. It is good solution? Should I make alias for eth0 with address 4.3.2.2?
Thanks for help and sorry for my English.
Best regards
T.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-01 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-01  7:59 multiple mapping Tomek Macioszek
2004-09-01 11:07 ` John A. Sullivan III
     [not found]   ` <007f01c49015$9544e610$2a245cc2@cea05>
2004-09-01 11:33     ` John A. Sullivan III
2004-09-01 16:44 ` Jose Maria Lopez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.