Remote Server Name unreachable on remote vpn client

This forum is for general conversation and user-user networking.
Post Reply
Chett
OpenVpn Newbie
Posts: 1
Joined: Thu Jun 13, 2019 6:31 pm

Remote Server Name unreachable on remote vpn client

Post by Chett » Thu Jun 13, 2019 6:36 pm

I apologize if this was hashed out before but maybe my situation is different. Please bear with me.

1. I have a 2016 Server box with OpenVPN server (Community edition) installed.
2. This server can be reachable by either local IP of the server or by simply \\servername within the local network at that location.
3. I am not using AD or a DNS server. The server is pointing to a public DNS service. This is a simple file server for about 6 local clients in the office. nothing fancy. The server is hard wired.
4. The server has a local IP of 192.168.1.x as do the other machines local to that server. Simple enough
5. Starting OpenVPN works no problems there. VPN server IP 10.10.10.1

Now...

On the remote client across town

1. I can start the open vpn client. This works
2. The local internal IP is 192.168.0.x on a Windows 10 box
3. Client VPN IP is 10.10.10.5
4. I can ping and get a response from 10.10.10.1 above
5. I open file explorer on the client and do: \10.10.10.1 I see my shares
6. If I do \\Servername it does not connect, or times out.
7. I have tested this with both windows firewall turned off on either end.

Any insight to this would be helpful. We can talk about ports however for the sake of this conversation we all understand that the firewall is off on both ends for testing only. (A list of ports that need to be opened on both ends would be extremely helpful however)

Client config below:


remote 76.14.64.163
client
port 12345
proto tcp4-client
dev tun
# dev tap
dhcp-option DNS 192.168.1.1 <<<---- (I was attempting to use the remote gateway of the machine)

nobind

tls-client
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1
remote-cert-tls server

tun-mtu 1500
tun-mtu-extra 32
mssfix 1450

ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"


cipher AES-128-CBC
comp-lzo

persist-key
persist-tun

verb 3
mute 20

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 6167
Joined: Fri Jun 03, 2016 1:17 pm

Re: Remote Server Name unreachable on remote vpn client

Post by TinCanTech » Fri Jun 14, 2019 12:31 am


Post Reply