Can not ping / cifs lan computers after being connected remotely over openvpn

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Can not ping / cifs lan computers after being connected remotely over openvpn

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Can not ping / cifs lan computers after being connected remotely over openvpn
Can not ping / cifs lan computers after being connected remotely over openvpn
2022-09-16 21:39:02
Tags: #VPN #cifs
Model: Archer AX6000  
Hardware Version: V2
Firmware Version: 1.1.0 Build 20211118 rel.71177(4555)

This is strange.

I have a linux machine - when I am at home, I am able to ping 192.168.0.X, I am able to use cifs to mount \\192.168.0.X\<PATH>

 

however, when I connect (using that same linux machine) remotely to the openvpn server of my tplink

I am no longer able to ping 192.168.0.X nor mount cifs 192.168.0.X, but I am still able to do other things such as access 192.168.0.X:8080 and connect to 192.168.0.X using vnc viewer.

 

I am though, able to connect to the router's smb server via 192.168.0.1 and also ping the router, but not other ip addresses.

 

Is this a router issue? or a linux issue? why some ports and services work being accessed remotely and others (ping, smb) do not work when I access remotely?

 

How can I configure openvpn to show me as yet another "local" device with 192.168.Y.Z subnet ip instead of a forein ip of 10.A.B.C which I have after openvpn connect?

  0      
  0      
#1
Options
3 Reply
Re:Can not ping / cifs lan computers after being connected remotely over openvpn
2022-09-16 23:30:00 - last edited 2022-09-16 23:35:20

  @AmazingMiki 

 

Hi,

 

If some services on 192.168.0.X (like vnc viewer) can be accessed, while some others (like ping) cannot, then it could be a firewall issue. (the firewall of the client machine 192.168.0.X)

 

I am not so familar with Linux, but for example the Windows Firewall has separate rules for local connections and remote connections. A client machine connected via the VPN connection will appear as a remote client.

 

 

"How can I configure openvpn to show me as yet another "local" device with 192.168.Y.Z subnet ip instead of a forein ip of 10.A.B.C which I have after openvpn connect?"

 

OpenVPN itself can be configured as a TUN or a TAP device. If configured as TAP device the VPN client would be in the same subnet as the VPN server.

However, TUN is the default for OpenVPN and TP-Link's router configuration GUI doesn't provide a way to configure it as TAP.

  0  
  0  
#2
Options
Re:Can not ping / cifs lan computers after being connected remotely over openvpn
2022-09-17 01:15:05

I HAVE been trying to save the subnet which was originall 10.8.0.0 to something more similar to the DHCP subnet of my LAN,

however, when I click save I just get some error message "(x) Operation failed."

when the subnet directly overlap with the DHCP subnet (192.168.0.0 instead of 192.168.1.0) is says that it can not overlap with the local DHCP subnet :(

  0  
  0  
#3
Options
Re:Can not ping / cifs lan computers after being connected remotely over openvpn
2022-09-17 18:07:28

  @AmazingMiki 

 

Yes, OpenVPN in "TUN" mode necessitates the subnet of the LAN and the subnet of the VPN to be different, otherwise it would screw up the network. So, the AX6000 is just preventing you from configuring something that wouldn't work anyway.

 

  0  
  0  
#4
Options

Information

Helpful: 0

Views: 676

Replies: 3

Tags

VPN
cifs
Related Articles