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 192.168.1.10 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]192.168.1.11:1294
and a bit below:
UDP link remote: [AF_INET]192.168.1.11:1294
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 192.168.1.10:1194.
Clients cannot connect to local LAN
-
- OpenVpn Newbie
- Posts: 1
- Joined: Thu Oct 12, 2017 9:22 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Clients cannot connect to local LAN
Please see:
HOWTO: Request Help !
Also,
HOWTO: Request Help !
Also,
- 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.
- You are advised to change your server LAN to a more unique RFC1918 compliant subnet.
For example: 192.168.143.0/24