From: Grant Taylor <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Trouble selecting network interface by port
Date: Tue, 09 Jan 2007 02:41:25 +0000 [thread overview]
Message-ID: <45A300D5.9040706@riverviewtech.net> (raw)
On 12/29/06 17:40, Björn Lindström wrote:
> # Mark packets that should be routed through the tunnel
> iptables -A PREROUTING -i ${EXTIF} -t mangle -p tcp --dport 80 \
> -j MARK --set-mark 1
<snip>
> I'm testing this with port 80 so that I can check the result by
> running a script that returns my IP on a remote server.
>
> After doing all this, the remote server still sees my as the IP for
> eth1. Can anyone see what I have overlooked here?
It looks like you are marking packets that are inbound on your external
interface. Did you perhaps mean to mark packets inbound on your
internal interface and thus outbound from your system?
Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2007-01-09 2:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-09 2:41 Grant Taylor [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-12-29 23:40 [LARTC] Trouble selecting network interface by port Björn Lindström
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=45A300D5.9040706@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--cc=lartc@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.