Re: IP forwarding
- From: "george pass" <g1pass@xxxxxxxxx>
- Date: 27 Feb 2006 13:24:12 -0800
Ο/Η manoj έγραψε:
I want traffic on eth1 to be forwarded to eth2.
I'll give you what I do for something similar and you will decide if
this is your case or else it may help you research more, which is good
in any case.
This forwards traffic from eth0:1 to eth0's g/w
1. one physical interface (eth0)
2. g/w set to whatever it is.
3. set secondary IP to eth0 (eth0:1)
4. set IP_FORWARD="yes", in /etc/sysconfig/sysctl file
5. iptables -A POSTROUTING -t nat -j SNAT --to-source [eth0 IP] -s
[eth0:1 net]/24 -o eth0
My guru, Christos Michail, tought me this.
.
- References:
- IP forwarding
- From: manoj
- Re: IP forwarding
- From: Grant
- Re: IP forwarding
- From: manoj
- Re: IP forwarding
- From: David Schwartz
- Re: IP forwarding
- From: manoj
- Re: IP forwarding
- From: yozhang
- Re: IP forwarding
- From: manoj
- Re: IP forwarding
- From: Llanzlan Klazmon
- Re: IP forwarding
- From: manoj
- IP forwarding
- Prev by Date: Re: IP forwarding
- Next by Date: Re: IP forwarding
- Previous by thread: Re: IP forwarding
- Next by thread: Re: IP forwarding
- Index(es):
Relevant Pages
|