From: "Matthew Mileham" <matthew@postbag.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: IPTABLES NAT
Date: Wed, 10 Sep 2003 08:06:36 +0200 [thread overview]
Message-ID: <017601c37761$b1aeecb0$798014ac@matthew> (raw)
[-- Attachment #1: Type: text/plain, Size: 674 bytes --]
Hi
I wonder if any body can help me ?
I've got 2 Redhat 9 Linux Servers purely running iptables and only using the NAT function
I want to load balance over two boxes, I want to send traffic out the one box and SNAT 57.24.224.242,
and return traffic to return to the second box and DNAT to 172.20.128.121
If I send traffic over the one box and receive on the same box it works, but when I split the traffic it doesn't work !
the rules are as follows
Box1
iptables -t nat -A POSTROUTING -o eth1 -s 172.20.128.121 -j SNAT --to 57.24.224.242
Box2
iptables -t nat -A PREROUTING -i eth1 -d 57.24.224.242 -j DNAT --to 172.20.128.121
Thanks
[-- Attachment #2: Type: text/html, Size: 2129 bytes --]
next reply other threads:[~2003-09-10 6:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-10 6:06 Matthew Mileham [this message]
2003-09-10 16:04 ` IPTABLES NAT Jim Carter
-- strict thread matches above, loose matches on Subject: below --
2003-09-10 6:18 George Vieira
2003-10-13 9:27 iptables nat Lohan Spies
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='017601c37761$b1aeecb0$798014ac@matthew' \
--to=matthew@postbag.co.za \
--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