Page 1 of 1
Open VPN Server on Windows 10
Posted: Wed Nov 02, 2022 1:39 pm
by jpattard
I am testing an installation of OpenVPN on windows 10. I am able to connect remotely and also browse the tunneled internet. However for some strange reason, after some time the Tunneled internet stops working althogh the VPN remains connected and the internet switches to the local client connection.
Re: Open VPN Server on Windows 10
Posted: Wed Nov 02, 2022 1:50 pm
by openvpn_inc
Hello jpattard,
Are you using the program that is called "OpenVPN Access Server" or are you using the community OpenVPN program and have configured it yourself as a server? This makes a difference in terms of where this post should go on this forum.
Kind regards,
Johan
Re: Open VPN Server on Windows 10
Posted: Wed Nov 02, 2022 2:19 pm
by jpattard
The community version.
Re: Open VPN Server on Windows 10
Posted: Thu Nov 03, 2022 7:14 am
by jpattard
I configured the options myself with the below options:
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
server 10.24.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
#mute 20
windows-driver wintun
status openvpn-status.log
log openvpn.log
log-append openvpn.log
# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 9
# Silence repeating messages. At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20
# Notify the client that when the server restarts so it
# can automatically reconnect.
explicit-exit-notify 1
push "redirect-gateway def bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "route 192.168.1.0 255.255.255.0"
Re: Open VPN Server on Windows 10
Posted: Thu Nov 03, 2022 9:54 am
by openvpn_inc
Hello jpattard,
You should look on your client if the routes that are put in place by OpenVPN are still there when the problem occurs. If they're not, and OpenVPN is not reporting anything that it removes routes at that time and is still just up and running, then you have another process that's removing routes. You should find out what that other process is and stop it from interfering in the routing table.
Kind regards,
Johan
Re: Open VPN Server on Windows 10
Posted: Thu Nov 03, 2022 10:53 am
by Pippin
Hi,
Code: Select all
push "route 192.168.1.0 255.255.255.0"
This is a common subnet, it could be the problem, please see here:
https://community.openvpn.net/openvpn/w ... gConflicts
Re: Open VPN Server on Windows 10
Posted: Thu Nov 03, 2022 12:47 pm
by jpattard
I'll check both, thanks

Re: Open VPN Server on Windows 10
Posted: Fri Nov 04, 2022 9:49 am
by jpattard
I removed the push "route 192.168.1.0 255.255.255.0" but it did not solve the issue. I am suspecting that something is playing with the routes on my laptop. I found another default route on my laptop with a lower metric then the one of the VPN. Not sure how can i discover what's causing the change
Re: Open VPN Server on Windows 10
Posted: Fri Nov 04, 2022 7:22 pm
by Pippin
You could look at the routing tables before and after.
Re: Open VPN Server on Windows 10
Posted: Fri Nov 04, 2022 9:35 pm
by jpattard
Indeed! and i'm finding another default route after some time which always points to my internet router.