From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: Redirect and change the source IP
Date: Mon, 03 Nov 2003 16:00:27 +0200 [thread overview]
Message-ID: <1067868026.26086.66.camel@raylinux.internal> (raw)
In-Reply-To: <oprx2cuychpvmot6@192.168.2.1>
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
On Mon, 2003-11-03 at 15:24, Martín wrote:
> How can I redirect inbound traffic and also change the source IP of this
> traffic?
iptables -t nat -A POSTROUTING -i eth0 -s 123.321.123.321 -p tcp --dport
80 -j SNAT --to 1.2.3.4
--
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD 00EE 8757 EE47 F06F FB28
--
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2003-11-03 14:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 13:24 Redirect and change the source IP Martín
2003-11-03 14:00 ` Ray Leach [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-11-03 14:12 Martín
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=1067868026.26086.66.camel@raylinux.internal \
--to=raymondl@knowledgefactory.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 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.