I can successfully connect to a remote network I setup using a Tomato router and OpenVPN. While connected to the VPN, I can ping the router, printer, and two computers. There is also an industrial machine that has two network interfaces (let's call them A and B). These interfaces are plugged into a simple ethernet hub that is then connected to the tomato router. If I login to either computer on the remote network I can ping either interface A or B and get a reply. However, through the VPN, if I ping interface A I get a reply but not B. I made sure that the IP address of both interfaces are set outside the DHCP range. I also had them unlplug the network cable and tried to ping again (just in case another device was using that IP). If I couldn't ping either interface over the VPN it might make sense but since I can ping A I would think that B should respond too. The company that installed the machine says it's not their equipment and that I need to buy an expensive Cisco router (that they have no reported issues with). I really don't think the problem is with my router (or tomato) since I can connect and ping, print, open shares, etc. Any thoughts on why I can't see this one interface?
Date: 10 Jan 2012 23:08
Number of posts: 2
RSS: New posts
I love it when I solve my own problems! In a nutshell, it was changing the interface type from TUN to TAP (and of course changing the OpenVPN config from dev tun to dev tap21. I discovered the vpn interface was called tap21 while I was looking at the routing under the Advanced menu option. Apparently TUN does not allow network packets broadcast on the destination network to be received by VPN client and TAP does. In fact, while using TUN I would get an ip like "10.8.0.0" and now I get one from the same IP pool as the other computers like "192.168.x.x". I also made sure to make the IP address structure something unusual so there won't be any conflicts with other networks. For example, 192.168.1.1 is a very common IP so you might want to change it to something like 192.168.9.1 that way your computer won't freak out if the router of the remote network is the same as yours. Hope this helps someone else. Good luck out there!