File Sharing across multiple subnets

Hi,

I have two routers, one connected straight to the internet and one that goes out via a VPN. I would like to share files between the two routers.

Router 1: Apple Time Capsule, 192.168.1.1, 255.255.255.0
Router 2: TP-Link Archer C7, 192.168.3.1, 255.255.255.0

the Lan port on Router 1 is connected to the WAN port on router 2.

The idea of having two routers is so that one is a dedicated VPN router so if I connect to that then I am using the VPN but would still like to access files from a computer (192.168.1.7) on Router 1

I thought about having DHCP turned off on router 2 but I don't think that would give me the VPN ability.

Let me know if you have any suggestions.

Thanks,

Ali
 
Typically, when a VPN is active, sharing like this is disabled when the connection is made - - it's a security issue for the VPN.

That said, yes it is possible to share across subnets.
  1. the WAN side Mac of router#2 must have a fixed (address reservation) ip in router#1
  2. then you add a persistent route in router#1 for the subnet of router#2
 
Back