[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ip_forward - 2 nics [solved]



Kevin Coyner, 2002-Nov-07 22:15 -0500:
> Solved !!! Thanks much Jeff for helping out and getting me on the right
> path.
> 
> It's as you suspected, the router didn't know about the 10.0.0.0 network
> so I had to have the proxy server sumida do NAT in order to convert from
> the 192.168.2.0 network to the 10.0.0.0 network.  Probably obvious to
> some, but not to me in my first attempt at this.
> 
> Since I've had my router assign a fixed IP of 192.168.2.150 to sumida's
> first NIC, I've gone with SNAT for the setup.  And once that was
> decided, the key entry for iptables was ...
> 
> iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to ${NAT}
> 
> ... with $NAT being 192.168.2.150 (the NIC connection to the internet).
> 
> Again, thanks for your help.
> 
> Kevin

No problem...that was fun!

jc

--
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: