From: felix@crowfix.com
To: netfilter@lists.netfilter.org
Subject: Re: Newbie question about NAT and forwarding
Date: Wed, 6 Sep 2006 15:59:40 -0700 [thread overview]
Message-ID: <20060906225940.GA4082@crowfix.com> (raw)
In-Reply-To: <ednhr3$pjc$1@sea.gmane.org>
On Wed, Sep 06, 2006 at 06:24:34PM -0400, Danny Rathjens wrote:
>
> Then you just need to route the smtp traffic through your dial-up.
>
> echo 202 mail >> /etc/iproute2/rt_tables
> ip rule add fwmark 2 table mail
> ip route add default via $dialup_gateway dev eth0 table mail
I see I have mucho to learn -- I didn't even know about this
/etc/iproute2 directory. It does look simple, but not at all what I
had thought of. I must read up some more!
Thanks.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
next prev parent reply other threads:[~2006-09-06 22:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 20:52 Newbie question about NAT and forwarding felix
2006-09-06 22:24 ` Danny Rathjens
2006-09-06 22:59 ` felix [this message]
2006-09-06 23:52 ` Pascal Hambourg
2006-09-07 0:24 ` felix
2006-09-07 1:37 ` Pascal Hambourg
2006-09-07 2:43 ` felix
2006-09-07 9:20 ` Pascal Hambourg
2006-09-07 14:12 ` felix
2006-09-07 16:27 ` Danny Rathjens
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=20060906225940.GA4082@crowfix.com \
--to=felix@crowfix.com \
--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