Quote:
Originally Posted by otisthegbs
Now I'm assuming that this has to do with my routing rules. In the central office i've told my router to send all requests for 192.168.2.0 to 192.168.1.13.
|
I'm curious... do you mean you're routing traffic with iptables? It seems like the easiest way would be to just add a line to the routing tables on 192.168.1.1
For instance,
ip route add 192.168.2.0/24 via 192.168.1.13 executed on 192.168.1.1 should result in something like:
Code:
#ip route show
192.168.1.0/24 dev eth0 scope link
152.8.200.4/24 dev wan0 scope link (made-up wan ip - ignore)
127.0.0.0/8 dev lo scope link
default via 152.8.200.1 dev eth0 (made-up wan router - ignore)
192.168.2.0/24 via 192.168.1.13
oh... also, IP Forwarding needs to be enabled on pdc-02. You can enable it with
sysctl -w net.ipv4.ip_forward=1
If you're still having problems after that, it might be something else, but your iptables rules look fine to me. Also, if any of those commands work, they're just temporary (until you reboot). You can always put them in an rc script, though.