Send to a Friend

linuxgnuru's avatar

How do you use iptables to route using private IP networks?

Asked by linuxgnuru (207points) November 28th, 2010

Ok here’s the situation; I have a private lan (10.0.5.0 network) but I need to do some testing without messing up my lan. I have network B (192.168 network) and on my linux server (DNS, squid, httpd) I added a simple alias network (ifconfig eth0:1 192.168.blah) now, how can I use iptables to route anything coming from eth0:1 to the normal network? Should I use NAT?

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.