0

I have two WiFi routers:

  • Router A is my ISP Router and is connected to the Internet.
  • I've now added in a second WiFi router (Router B).
  • Router A and Router B are connected together by LAN cable (WAN port on Router B connected to LAN port on Router A)
  • Router B is on a different subnet to Router A.
  • Router B is running DD-WRT and operating in 'Gateway' mode with the Gateway IP address being Router A.
  • Router B is configured with a working OpenVPN connection.
  • Router A subnet uses Pi-hole as its DHCP server. Router B is its own DHCP server.

Everything works fine. If I connect my phone to Router A by WiFi, i get Internet which is NOT protected by VPN. If I connect my phone to Router B by WiFi, I get Internet which IS protected by VPN.

Now the problem: Plugged into the LAN port on Router B is an IP Camera. I want to be able to view the Camera using my phone connected to Router A by WiFi.

I thought I could do this using some kind of 'static route' or port forwarding or something configured on Router B which would allow local IP addresses from Router A into Router B, but I couldn't get anything to work (i'm not really sure what i'm doing).

Or, i thought I could use 'normal' Port Forwarding rules configured on Router B which would allow traffic on a given port from the internet via the public IP address provided by my NordVPN connection. So in effect I could go out of Router A onto the Internet and back in from the Internet to Router B. I couldn't get this to work - would the OpenVPN connection prevent this?

Slightly feeble diagram below:

  Internet      IPCamera (192.168.1.2)
    |             |
    |             | 
192.168.8.1     192.168.1.1 (OpenVPN)
(Router A)      (Router B)
|     |           |     |
|     -------------     |
|                       |
WiFi                    WiFi
|
Phone (192.168.8.2)

Any advice on how exactly I can browse my IPCamera (192.168.1.2) from my Phone (192.168.8.2) ??

2 Answers 2

0

This can be done with a reasonably standard hookup.

(1) Connect a LAN port on Router B to the Router A network.

(2) Give Router B a static IP address on Router A (so it does not get lost on restarting)

(3) Turn DHCP OFF on Router B.

Now devices on Router B will get main network IP addresses and all will work in harmony.

0

Replying to John:

thanks for replying. I think you're describing a standard Wireless Access Point as I've created before using old ISP routers to extend WiFi coverage. However, isn't the difference that my Router B is using OpenVPN (ie. NordVPN) and it uses different DNS servers and so they need to be 'farmed out' to connecting clients by using DHCP on Router B.

Or are you saying, that the DNS servers that NordVPN told me I had to use is nonsense and I can just use my normal Router A DNS servers (Cloudflare) and the OpenVPN tunnel will still encrypt traffic for any & all clients connected to Router B ?

(Not sure why I'm having to answer my own question in order to respond - there appears to be no 'add comment' link)

3
  • You need to get to one DHCP server and one subnet of addresses to have access to all devices on LAN. Nord VPN may be able to / should be able to use your ISP DNS address, or you can add a Nord VPN DNS address as another (alternate) address in your main ISP modem / router setup.
    – anon
    Commented Sep 25, 2020 at 20:05
  • Okay, so I think you're saying one LAN with one DHCP server (ie. normal setup with an old router acting as a Wireless Access Point to extend WiFi coverage to dark corners). However, if I do that and then connect my phone to Router B (the one with the OpenVPN tunnel) what makes the traffic from my phone to the internet travel through the VPN tunnel? Won't it just get it's IP config from Router A and basically bypass the VPN tunnel and out the Gateway on Router A to the Internet?
    – Bill
    Commented Sep 26, 2020 at 7:19
  • If Router B has a fixed VPN setup so traffic can only use the VPN then I am not sure you can set things up to be normal.
    – anon
    Commented Sep 26, 2020 at 11:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .