source based routing help needed
- From: Jack Snodgrass <jacks_temp_id_bf2142@xxxxxxxxxxx>
- Date: Thu, 28 Feb 2008 02:24:21 GMT
I've been doing linux for a long time, but never have gotten the hang of
source based routing. I need to set this up now so I am seeing if someone
can help me out... I've seen lots of examples using ppp0/ppp1 and ip
addresses... but I just can't get a handle on this for my setup.
I have
eth0 ( local network )
tun1 ( web server traffic that comes in via a tunnel )
any traffic that comes in via the tun1 interface needs to go
back out the tun1 interface.
any traffic that comes in on the eth0 interface needs to go back
out on the eth0 interface.
I have this sort of working using standard routing where the 'default'
route goes over my tunnel so any web traffic that comes in, goes back
out that way correctly and I have my private network stuff set up to
route via eth0. The issue I have with this is that if the web server
does something like a yum update... the default route uses the tunnel
and I want it to use the eth0 interface.
How can I get source based routing to work on just the eth0 / tun1
interfaces?
Thanks - jack
--
.
- Follow-Ups:
- Re: source based routing help needed
- From: Jack Snodgrass
- Re: source based routing help needed
- From: Ashish Shukla आशीष शुक्ल
- Re: source based routing help needed
- Prev by Date: Re: frame value too large by ifconfig!!!!
- Next by Date: Stop ifconfig from adding an ipv6 address?
- Previous by thread: is it possible to determine how much network traffic is caused by a particular process?
- Next by thread: Re: source based routing help needed
- Index(es):
Relevant Pages
|