I have a PPP connection over USB (dev ppp0), and an eth0 connection. My Linux box has IP, I have a second Windows PC with an IP of The ppp conection is - which is a correctly configured embedded system. I would like traffic to be able to flow between the ppp0 connection, and When I try and ping from I find that the destination is unreachable - I actually get that specific message. I can ping 192.168.2 from I can also ping from and visa verse. I have turned on IP Forwarding. I have also executed the following commands.

route add -net netmask gw
route add -net netmask dev ppp0

I would like network traffic destined for to be routed to/from whatever other host is on the same 192.168.1.* network. How do I do this.

  • Please post the output of ifconfig, route -n, and iptables -nvL. – Gilles Oct 2 '13 at 22:47
iptables -t nat -A PREROUTING -p tcp -d  -j DNAT --to

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.