From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: multi-isp connection NAT not working
Date: Wed, 28 Sep 2005 13:24:11 -0500 [thread overview]
Message-ID: <200509281324.11170.rob0@gmx.co.uk> (raw)
In-Reply-To: <1127926307.32641.17.camel@tholian.starken.com>
On Wednesday 2005-September-28 11:51, Daniel Wittenberg wrote:
> I think this is a simple problem, but nothing I've read so far seems
> to help, maybe I'm missing something.
A serious typo?
> route add default via {ISP-1-gateway} table T1 dev eth0
> rule add from {ISP-1-ip} table T1
> rule add fwmark 1 table T1
Prepend "ip " to those.
> iptables -t mangle -A PREROUTING -i eth0 -j MARK --set-mark 1
ok
> route add default via {ISP-2-gateway} table T2 dev eth1
> rule add from {ISP-2-ip} table T1
> rule add fwmark 2 table T1
Again prepend "ip " and s/T1/T2/
> iptables -t mangle -A PREROUTING -i eth1 -j MARK --set-mark 2
>
> Any ideas?
I use and recommend Julian Anastasov's routes patch. Usage is explained
in http://www.ssi.bg/~ja/nano.txt , the patches are linked from the
parent directory. IWFM at 3 sites.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
next prev parent reply other threads:[~2005-09-28 18:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-28 16:51 multi-isp connection NAT not working Daniel Wittenberg
2005-09-28 18:24 ` /dev/rob0 [this message]
2005-09-28 19:27 ` Daniel Wittenberg
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=200509281324.11170.rob0@gmx.co.uk \
--to=rob0@gmx.co.uk \
--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