From: "Alexander Newald" <alexander@newald.de>
To: netfilter@lists.netfilter.org
Subject: NAT & forwarding
Date: Tue, 15 Mar 2005 07:35:33 +0100 [thread overview]
Message-ID: <002701c52929$30fc82a0$6300a8c0@arbeitszimmer> (raw)
Hello,
I have some problems with the fullowing:
I have one box (123.123.123.123) from with I would like to forward all
traffic comeing to this box to another (12.12.12.12). This should be
transparent for the clients. So if I do a http or ftp request to
123.123.123.123 the answer (webpage, ftp login) comes from 12.12.12.12.
I like to have this but not for ssh (so I can login to 123.123.123.123).
I thought that I should do
iptables -t nat -I PREROUTING -d 123.123.123.123 -s 0/0 -j DNAT --to
12.12.12.12
on 123.123.123.123
But it dosn't work. Do I need to setup something on 12.12.12.12?
Thanks,
Alexander Newald
reply other threads:[~2005-03-15 6:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='002701c52929$30fc82a0$6300a8c0@arbeitszimmer' \
--to=alexander@newald.de \
--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