Setting up 1 VPN router and 1 normal internet router on 1 cable modem

Onanislandfarfaraway

Commendable
Jun 2, 2016
2
0
1,510
Hi Everybody,

I know what you're thinking (GO READ THE OTHER THREADS FIRST) but I did, really, alot too.
I have checked the existing answers but I admit to being basically ignorant so I really didn't find anything enough to answer my dilemma. Here goes:

I have an ISP supplied Thomson tcm471 fiber cable modem. This thing has one port only and no wifi.
It is supplied with a Dlink 605L router which has wifi, with the ip 192.168.0.1 everything else is as is. The cable box handles everything else (I think). It is connected via a LAN cable to the Thomson.
LAN (Thomson) => WAN (D-link)

I would like to connect another Dlink 605L to create a VPN network so that I can see other things like Apple TV etc...

At one point I assigned a different ip to the second Dlink and then I couldn't access it anymore and had to reset it. They both work and if I connect the both of them I can create an WAP but that's not what I want to do.

I tried leaving the first one alone and hooking up the second one LAN (Dlink1) => WAN (Dlink2) but couldn't get it to work..

Praises be upon thee whoeth mayeth solveth this riddle...really
 
Solution
You should be able to run vpn with it cabled the way say.

If the cable box is actually a router which it might be then you can hook both routers directly to it.

If you main router is getting a IP in the 192.168.100.x range for its wan ip then you could just use a switch.

You should be able to say use ip like

modem---192.168.100.x---(wan)router1(lan)---192.168.1.x--(wan)router2(lan)---192.168.2.x----pc.

Run it with just the basic configs on the routers to start no vpn. It should work fine from the final pc. When this works then attempt to setup the vpn on router2.
Adding a second router to the mix is what is making things hard. I will just assume to avoid complexity you know how to get the vpn setup on that router.

If you could load the vpn on the first router it would make things easier. I do not know if that router has the ability to let some traffic go to the internet directly and only some traffic pass thought he vpn tunnel. If you can live with all traffic via the vpn then it is a fairly simple.

Using both routers gets messy pretty fast. Your PC would have to know which device to use for what traffic. This means you must put in a lot of route commands in the pc to tell it.

Although messy you can do this with mulitple interfaces in your pc. First you need to run the 2 routers

Modem--->(wan)router1(lan)---->(wan)router2.

Lets assume you use 192.168.1.x for lan on router1 and 192.168.2.x for lan on router 2.

So you set up the vpn on router 2 which I assume you know how to do.

So now it is just a matter of connecting to the correct router. If you connect to router 1 you will get a 192.168.1.x ip and go directly if you connect to router 2 you get a 192.168.2.x ip and use vpn.

It would be simple to switch back and forth on wireless by using different ssid.

To use both at the same time though is hard. You would say for example connect to the main router via wireless and connect to the second router via ethernet. You must then go in and remove the 0.0.0.0 router for one of the links. The one that remains will be where all traffic is sent by default. You then use route ADD statements to put a list of sites that need to go to say the vpn if the main router is your default.
 

Onanislandfarfaraway

Commendable
Jun 2, 2016
2
0
1,510
Thank you Bill for taking the time to reply. I may be confusing or am confused by your answer or my question is confusing because I may not be phrasing it right.

Basically what I'm trying to achieve is this: 2 separate networks working off 1 cable modem. One network will be for VPN (TV etc) and one for normal internet surfing (other people usage). I would like to access both networks from the PC. But lets say the Apple TV would never need to access normal internet.

I don't have a switch yet so the way I'm plugging in in (Cable box LAN) => (Dlink-1.WAN/LAN) => (Dlink-2.WAN)

I tried setting Dlink 1 to vpn and route Dlink 2 through DMZ but nope, didn't work.

I tried setting Dlink 1 as normal and route Dlink 2 as VPN but nay, didn't work either and had to reset! (Dunno why)

I think I'm stuck at a very basic IP assigning level stuff. Thing is I tried setting .2.1 on router 2, hooked it up but then it wouldn't connect to the VPN network and then I had to reset the router because I couldn't access the login page anymore. It's like the first router just assigns an IP to it regardless of what I set the device to.

BTW the cable box has an IP 192.162.100.1

Thanks and my praises and also sorry if I'm hysterical and confusing
 
You should be able to run vpn with it cabled the way say.

If the cable box is actually a router which it might be then you can hook both routers directly to it.

If you main router is getting a IP in the 192.168.100.x range for its wan ip then you could just use a switch.

You should be able to say use ip like

modem---192.168.100.x---(wan)router1(lan)---192.168.1.x--(wan)router2(lan)---192.168.2.x----pc.

Run it with just the basic configs on the routers to start no vpn. It should work fine from the final pc. When this works then attempt to setup the vpn on router2.
 
Solution