NAS sharing between 2 networks - Static routing?

rubicobra

Prominent
Dec 29, 2017
1
0
510
I have a 2 router setup. The first (main) router is a Cisco RV340, connected to the ISP and has a LAN address of 192.168.1.x

The second router is an Asus RT-AC3200 running Tomato. LAN address of 192.168.11.x. This router is connected to the Cisco router via ethernet cable. It is running an OpenVPN connection so all traffic of the 192.16.11.x network goes out through the VPN.

I have a NAS on the VPN network that I cannot access from the main 192.168.1.x network.

Can someone walk me through setting up static routing so that clients on the 192.168.1.x CISCO network can access the NAS on the 192.168.11.x Asus network?
 
Solution
You have 2 major issues.

The first is the NAT. Even if your did not have vpn you would have issues. This is the same issue as if you attempted to access your NAS from the internet and the solution is similar. You would have to port forward in the asus router to the nas and then access the nas by using the wan ip of the router form your other network.

The second problem is the VPN. You would need to set the vpn to allow all traffic for the 192.168.1.x network to bypass the vpn. I have not used tomato to do this, on the merlin image there is a menu you can list ips that can bypass. I know it can be done on tomato even if that means putting entries in the IPTABLES file yourself.

It might be simpler to move the nas to the...
You have 2 major issues.

The first is the NAT. Even if your did not have vpn you would have issues. This is the same issue as if you attempted to access your NAS from the internet and the solution is similar. You would have to port forward in the asus router to the nas and then access the nas by using the wan ip of the router form your other network.

The second problem is the VPN. You would need to set the vpn to allow all traffic for the 192.168.1.x network to bypass the vpn. I have not used tomato to do this, on the merlin image there is a menu you can list ips that can bypass. I know it can be done on tomato even if that means putting entries in the IPTABLES file yourself.

It might be simpler to move the nas to the 192.168.1.x network. You would still have the vpn bypass thing but you would not have the nat issue.
 
Solution

TRENDING THREADS