Access samba share over VPN, Routing rules
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Access samba share over VPN, Routing rules
Region : Germany
Model : Archer C7
Hardware Version : Not Clear
Firmware Version : 3.14.1 Build 140929 Rel.33293n
ISP :
I'm running a VPN Server(10.8.0.1) in the LAN with the local IP 192.168.0.3. The Archer C7(V2) is used as gateway (192.168.0.1). Port forwarding on the router is enabled and a VPN Client(10.8.0.*) can successfully connect to the VPN Server. IP Forwarding on the VPN Server machine is enabled. Now I'd like to access samba shares within the LAN that are located on a different machine (192.168.0.2) than the VPN server. To do so, you have to "set up a route on the server-side LAN gateway to route the VPN client subnet (10.8.0.0/24) to the OpenVPN server" ( source).
So I configured a static route on the Archer C7:
[CODE]Destination Network: 10.8.0.0
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.3[/CODE]
However this doesn't seem to work. The VPN client can successfully connect to the VPN Server, the router can be pinged from the vpn client but the vpn client won't find any other machine on the LAN side. The strange thing is, when I install OpenWRT on the Archer C7 and apply the very same rules there, it works just fine.
Model : Archer C7
Hardware Version : Not Clear
Firmware Version : 3.14.1 Build 140929 Rel.33293n
ISP :
I'm running a VPN Server(10.8.0.1) in the LAN with the local IP 192.168.0.3. The Archer C7(V2) is used as gateway (192.168.0.1). Port forwarding on the router is enabled and a VPN Client(10.8.0.*) can successfully connect to the VPN Server. IP Forwarding on the VPN Server machine is enabled. Now I'd like to access samba shares within the LAN that are located on a different machine (192.168.0.2) than the VPN server. To do so, you have to "set up a route on the server-side LAN gateway to route the VPN client subnet (10.8.0.0/24) to the OpenVPN server" ( source).
So I configured a static route on the Archer C7:
[CODE]Destination Network: 10.8.0.0
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.0.3[/CODE]
However this doesn't seem to work. The VPN client can successfully connect to the VPN Server, the router can be pinged from the vpn client but the vpn client won't find any other machine on the LAN side. The strange thing is, when I install OpenWRT on the Archer C7 and apply the very same rules there, it works just fine.