Re: Seriously confused about linux routing
- From: Scott Hemphill <hemphill@xxxxxxxxxxxxx>
- Date: 30 Jul 2007 21:59:12 -0400
melement@xxxxxxxxx writes:
iptables -t nat -P OUTPUT ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j SNAT -s 192.168.1.2 --to
10.15.0.2
On the 10.10.0.1 machine:
iptables -t nat -P OUTPUT ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j SNAT -s 192.168.1.1 --to
10.10.0.1
Some generally "funkiness" goes on, that I'm haven't quite been able
to solve. While I'm on the 10.15.0.2 machine, I will try to ping
192.168.1.1 but I was unable to.
What am I doing wrong with my iptables rules now?
The lines with "-P OUTPUT ACCEPT" shouldn't have "-t nat" in them.
Scott
--
Scott Hemphill hemphill@xxxxxxxxxxxxxxxxxx
"This isn't flying. This is falling, with style." -- Buzz Lightyear
.
- References:
- Seriously confused about linux routing
- From: melement
- Re: Seriously confused about linux routing
- From: Floyd L. Davidson
- Re: Seriously confused about linux routing
- From: melement
- Seriously confused about linux routing
- Prev by Date: rehat linux9.0 ppp error messages
- Next by Date: Problem receiving multicast data
- Previous by thread: Re: Seriously confused about linux routing
- Next by thread: What kind of tools can capture ip packets(such as UDP)fast enough on Linux Platform
- Index(es):
Relevant Pages
|