From: "Tomek Macioszek" <tomekm@cea.pl>
To: Netfilter <netfilter@lists.netfilter.org>
Subject: multiple mapping
Date: Wed, 1 Sep 2004 09:59:10 +0200 [thread overview]
Message-ID: <006701c48ff9$9627b5b0$2a245cc2@cea05> (raw)
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.
next reply other threads:[~2004-09-01 7:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-01 7:59 Tomek Macioszek [this message]
2004-09-01 11:07 ` multiple mapping 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='006701c48ff9$9627b5b0$2a245cc2@cea05' \
--to=tomekm@cea.pl \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox