From: N N Ashok <nalkunda@cse.msu.edu>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] SNAT or DNAT or what?
Date: Tue, 15 Apr 2003 17:48:38 +0000 [thread overview]
Message-ID: <marc-lartc-105042909408225@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105041792824038@msgid-missing>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 15 April 2003 11:05, Martin A. Brown scrawled:
> Torsten,
>
> This is not really a LARTC question (unless you fetch mail from an
> arbitrary number of servers, in which case you'll need the
> link-load-sharing multiple routing tables solution).
>
> I'm guessing you solution is quite easy....see below.
>
> : I have a Debian-Woody-3.0 Router with 3 NIC's. Kernelversion 2.4.18
>
> [ nice netmap snipped ]
>
> : Mail-Traffic over ISDN-Router
> : WWW-Traffic over DSL-Router
> : But why?
>
> [ interface definitions snipped ]
>
> : Is this correct?
>
> Well, yes. But not complete.
>
> : ### my route:
> : Kernel IP routing table
> : Destination Gateway Genmask Flags Metric Ref Use
> : Iface
> : 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0
> : eth2 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0
> : 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
> : 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0
> : 0 0 eth0 and now my firewall-script:
>
> Are you fetching mail from a particular mailserver? If so:
>
> # mailserver!3.165.64.20
> # route add -host $mailserver gw 192.168.2.1
>
> Or
>
> # mailserver!3.165.64.20
> # ip route add $mailserver via 192.168.2.1
>
> -Martin
Wouldnt setting up ip rules to forward the appropriate traffic through the
proper gateway be better?
Ashok
- --
- -----------------------------------------------------------------------------
My public key:
gpg --recv-keys --keyserver blackhole.pca.dfn.de DCB44F2E
http://pgp.mit.edu:11371/pks/lookup?search=N+N+Ashok+%28CSE+MSU%29+%3Cnnashok%40yahoo.com%3E&op=index
[Fingerprint: 4D6D B9F3 D2B6 A22A F4E5 5763 4615 E956 DCB4 4F2E ]
- -----------------------------------------------------------------------------
"...there is nothing so unnatural as the commonplace."
Sir Arthur Conan Doyle in "Adventures of Sherlock Holmes: A Case of Identity"
- -----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+nEX9RhXpVty0Ty4RAufDAJsE4zY/mnP0RLRdJsVEpNmlv8JWRACgiK/a
k6zwQXUERfKE0EFYO/e2LG0=YIXJ
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-04-15 17:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 14:43 [LARTC] SNAT or DNAT or what? Torsten Puls
2003-04-15 15:05 ` Martin A. Brown
2003-04-15 17:48 ` N N Ashok [this message]
2003-04-15 18:10 ` Martin A. Brown
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=marc-lartc-105042909408225@msgid-missing \
--to=nalkunda@cse.msu.edu \
--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.