Posted: Mon Jan 28, 2019 0:13 Post subject: device behind DD-WRT modem/router can't connect to internet
I'm new to DD-WRT, and I'm not exactly tech-savvy.
I have a DD-WRT flashed D-Link DIR-825 modem/router (let's call it VPN router). I use Privateinternetaccess as my VPN provider. I want to put my Popcorn Hour A500, a hard drive media player, behind the VPN router. So the intended set up is: Popcorn Hour->VPN router->standard modem->ISP.
When I configured the VPN router on my PC, via PC->VPN router->standard modem->ISP, I received "connected success" status and i could access internet from my PC fine.
When I placed the VPN router between Popcorn Hour and my standard modem, lights on VPN router all light up blue, meaning all is working fine. However, the Popcorn Hour was not able to connect to the internet or home network.
The Popcorn Hour network settings are:
Subnet Mask: 255.255.255.0
Gateway: 192.168.0.1 (note: this is the IP of my standard modem connected to ISP)
Primary DNS: 18.104.22.168
Secondary DNS: 22.214.171.124
Please see my VPN router's DD-WRT set up in the images below (I can only attach 3).
There must be some simple answer to this. I just can't figure it out myself. I greatly appreciate if anyone can point me to the right direction.
Joined: 23 Jul 2017 Posts: 706 Location: Brisbane, Australia
Posted: Mon Jan 28, 2019 4:43 Post subject:
Your Popcorn Hour device is using an IP address that is in the subnet of your gateway router, and it is using the gateway router's address as its Default Gateway. It needs to get a new IP configuration from DHCP on the VPN router.
Power off the Popcorn device, remove the WAN cable from the VPN router, and switch on the Popcorn device. Check thait it gets an address in the 192.168.1.x subnet and has a default gateway of 192.168.1.1. When it does, reconnect the cable to the WAN port of the VPN router. (Actually it should not be necessary to unplug the WAN cable, but a little insurance never hurts).
Joined: 18 Mar 2014 Posts: 3792 Location: Netherlands
Posted: Mon Jan 28, 2019 8:43 Post subject:
you basically want to connect two subnets from two routers.
there is always communication from downstream (the VPN router in your case) to upstream so from your popcorn device you can reach your PC on the standard router but not the other way around.
I hope that makes sense i have difficulty typing with 1 finger (had little accident)
If I have to go manually, I might as well unplug the Popcorn Hour from the VPN router and plug it directly with the standard modem and reset IP to the standard modem when I need to transfer files between my PC and Popcorn Hour.