Clients cannot connect to local LAN

Post Reply
OpenVpn Newbie
Posts: 1
Joined: Thu Oct 12, 2017 9:22 am

Clients cannot connect to local LAN

Post by StevenDR » Thu Oct 12, 2017 9:28 am

Hi all

It's the first time that I want to setup an OpenVPN server on a Windows machine. In the past, I had one running on a RaspPi, which worked, but was lacking performance.

The problem I'm facing at the moment is clients not being able to connect to the local LAN. However, they can connect to the VPN server itself.

I checked the logs, and find some strange behavior: my VPN server has as internal IP address. The next IP, being .11 is my NAS running in the network (which has nothing to do with OpenVPN or any other VPN software). The logs however state the following:

TCP/UDP: Preserving recently used remote address: [AF_INET]
and a bit below:
UDP link remote: [AF_INET]

Why is it using my NAS's IP address? I think this might be the cause of the issue.

PS: yes, I've disabled my Windows Firewall
PS2: the external port is 1294, which is "port forwarded" on my router to internal port

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

Re: Clients cannot connect to local LAN

Post by TinCanTech » Thu Oct 12, 2017 10:50 am

Please see:
HOWTO: Request Help !

  • NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
:arrow: Never use or (or other common subnets) for your OpenVPN Server LAN :!:
  • You are advised to change your server LAN to a more unique RFC1918 compliant subnet.
    For example:
Also, ensure IP forwarding is enabled on your server.

Post Reply