From: "Gáspár Lajos" <swifty@freemail.hu>
To: Dean Montgomery <dmonty@sd73.bc.ca>,
Netfilter list <netfilter@vger.kernel.org>
Subject: Re: Re: Redirect outgoing traffic
Date: Thu, 27 Sep 2007 09:40:28 +0200 [thread overview]
Message-ID: <46FB5E6C.8010407@freemail.hu> (raw)
In-Reply-To: <200709261646.17702.dmonty@sd73.bc.ca>
Dean Montgomery írta:
> Only problem with this is that I want the rule on the local workstation and
> not on the nat box. DNAT table is not picked up by local traffic leaving the
> workstation.
>
> So this does not work...
> iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j
> DNAT --to-destination :48888
>
>
But int the OUTPUT chain....
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 80 -j DNAT ....
Swifty
prev parent reply other threads:[~2007-09-27 7:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-22 0:50 Redirect outgoing traffic Dean Montgomery
2007-09-22 1:59 ` Amos Jeffries
2007-09-24 22:32 ` Dean Montgomery
2007-09-25 0:01 ` Martijn Lievaart
2007-09-26 23:46 ` Dean Montgomery
2007-09-27 7:40 ` Gáspár Lajos [this message]
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=46FB5E6C.8010407@freemail.hu \
--to=swifty@freemail.hu \
--cc=dmonty@sd73.bc.ca \
--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 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.