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) ??