How to get nodes under two consumer routers on two different networks to talk to each other?

TheMohawkNinja

Reputable
Aug 20, 2014
24
0
4,520
Hello,

I have a test network setup at work for a project, whereby I have a test server and host connected to the LAN ports of some old TrendNet router, and I have a DD-WRT router with a single host connected to its' LAN port. The two routers' WAN ports are connected to a switch inside the building that I don't have access to and are being given IPs from a DHCP server I also don't have access to.

I need to make it so the computer on the DD-WRT's network can talk to the server on the TrendNet's network via a VPN connection. The end goal is for the WAN connections to be across the Internet, so I can't just directly connect the routers together.
 

TheMohawkNinja

Reputable
Aug 20, 2014
24
0
4,520


The VPN server isn't on the router, it's on the node under the DD-WRT router if that's what you are implying.

I have a VPN server setup and should be waiting to connect to a client if I have my configurations right, however the VPN client (the non-server host under the TrendNet router) can't ping the WAN port on the DD-WRT router, let alone connect to the VPN server within the DD-WRTs' LAN.
 
You really want to run the VPN on the routers themselves if at all possible. Passing it though to another machine is kinda tricky, you must have the proper ports forwarded as well as options that let vpn pass though the device.

Ping should work from the remote client but the dd-wrt router may be configured to not respond. dd-wrt is actually extremely complex to use because of all the options it has.
 

TheMohawkNinja

Reputable
Aug 20, 2014
24
0
4,520


I'm trying to avoid router configurations as much as I can due to the fact that in practice, one of those routers will be a client's router, so I would like to avoid messing with it as much as possible. I'll explicitly port forward for ICMP packets on both routers in-case they are blocking it like you say and try again.
 

TheMohawkNinja

Reputable
Aug 20, 2014
24
0
4,520


Okay, so I've gotten it to the point whereby the nodes on each network can talk to the WAN ports on the router, but only the node under the TrendNet router can ping the LAN port on the DD-WRT router, but even then it can't ping any of the nodes connected to the LAN ports of the DD-WRT router.

I setup static routes to get the router's LAN ports to talk to each other, but I don't know why only one will successfully ping, nor do I understand why if I can ping the LAN port, why can't I ping anything connected to the LAN ports.