Open VPN Server on Windows 10
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed Nov 02, 2022 1:34 pm
Open VPN Server on Windows 10
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.
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: Open VPN Server on Windows 10
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
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
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed Nov 02, 2022 1:34 pm
Re: Open VPN Server on Windows 10
The community version.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed Nov 02, 2022 1:34 pm
Re: Open VPN Server on Windows 10
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"
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"
- openvpn_inc
- OpenVPN Inc.
- Posts: 1333
- Joined: Tue Feb 16, 2021 10:41 am
Re: Open VPN Server on Windows 10
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
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
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Open VPN Server on Windows 10
Hi,
This is a common subnet, it could be the problem, please see here:
https://community.openvpn.net/openvpn/w ... gConflicts
Code: Select all
push "route 192.168.1.0 255.255.255.0"
https://community.openvpn.net/openvpn/w ... gConflicts
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed Nov 02, 2022 1:34 pm
Re: Open VPN Server on Windows 10
I'll check both, thanks
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed Nov 02, 2022 1:34 pm
Re: Open VPN Server on Windows 10
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
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Open VPN Server on Windows 10
You could look at the routing tables before and after.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- OpenVpn Newbie
- Posts: 6
- Joined: Wed Nov 02, 2022 1:34 pm
Re: Open VPN Server on Windows 10
Indeed! and i'm finding another default route after some time which always points to my internet router.