From: Wade Gasior <wadegasior@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter@vger.kernel.org
Subject: Re: Redirecting a Pre-existing SSH Session
Date: Tue, 6 Jul 2010 10:34:20 -0400 [thread overview]
Message-ID: <AANLkTikPeHVRj9sHH8pHD6PUdnluv1VkrsRhTtOkqIw1@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.01.1007061331300.11025@obet.zrqbmnf.qr>
Thank you for the clarification. Are there any resources that you
could point me towards that might help me to accomplish what I
outlined?
On Tue, Jul 6, 2010 at 7:31 AM, Jan Engelhardt <jengelh@medozas.de> wrote:
>
> On Tuesday 2010-07-06 13:28, Wade Gasior wrote:
>
>>At a point in time, I want to forward all incoming traffic to be
>>served by .160 instead.
>>I have accomplished this using these commands (on .150):
>>
>>iptables -t nat -A PREROUTING -j DNAT --to 192.168.1.160
>>iptables -t nat -I POSTROUTING -j MASQUERADE
>
> That isn't forwarding, it's address rewriting.
>
>
next prev parent reply other threads:[~2010-07-06 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 11:28 Redirecting a Pre-existing SSH Session Wade Gasior
2010-07-06 11:31 ` Jan Engelhardt
2010-07-06 14:34 ` Wade Gasior [this message]
2010-07-07 14:33 ` Pascal Hambourg
2010-07-07 16:45 ` Antoine Souques
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=AANLkTikPeHVRj9sHH8pHD6PUdnluv1VkrsRhTtOkqIw1@mail.gmail.com \
--to=wadegasior@gmail.com \
--cc=jengelh@medozas.de \
--cc=netfilter@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).