OpenVPN is a free virtual private network (VPN) client and daemon.
Questions tagged [openvpn]
849 questions
20
votes
2 answers
How to make OpenVPN to listen both TCP and UDP ports
I've searched around and the only thing I've found is that "yes, OpenVPN supports connections over TCP", but I haven't found any way to coerce the openvpn server to listen the same port for both protocols at the same time. I've found some very old…

Braiam
- 35,991
16
votes
1 answer
Changing OpenVPN device name
I have multiple VPN server software running on the same server, two of them (tinc and openvpn) are using the same /dev/net/tun devices and spawning a tunX iface.
The later started ones will use tun devices from zero, so they're reusing each other's…

Quan Zhou
- 163
12
votes
1 answer
How to use --auth-nocache with correct TUN/TAP in openvpn?
I do and get when I have the password file nordvpn.txt of permissions 700 in /etc/openvpn/nordvpn and declaring auth-user-pass nordvpn.txt in .ovpn files
root@masi:/etc/openvpn# openvpn --auth-nocache lv2.nordvpn.com.udp1194.ovpn
Options error: You…

Léo Léopold Hertz 준영
- 6,928
11
votes
1 answer
Purpose of IP addresses on tun interface?
--ifconfig option, which configures local and peer IP address for point-to-point tunnel interface, is a mandatory configuration option for OpenVPN. However, what is the purpose of local and peer IP addresses? Only purpose I can think of is that one…

Martin
- 7,516
8
votes
1 answer
How to check server.conf error for OpenVPN
I want to install OpenVPN server in my VPS.
After configuration I run sudo service openvpn start, but failed to start.
Is there a some kind of "grammar check" option for server.conf?
I put the config file in /etc/openvpn/server.conf, and I'm using…

ironsand
- 5,205
7
votes
1 answer
Redirect traffic from a OpenVPN server to an OpenVPN client running in the same device
I have a raspberry box running an OpenVPN server that I'm using as a way to connect to use my Pihole installation when outside my home network. This is working without issues.
| HOME NETWORK/Pihole |
(Remote client) …

Proto
- 71
6
votes
1 answer
Change password in OpenVPN configuration file
I use OpenVPN via command line:
openvpn --config acme.ovpn
with the config file user-locked to my username.
Is there a way to change the password that protects the private key in the config file?

dr_
- 29,602
4
votes
0 answers
OpenVPN stops after a couple of minutes, seems to hang all system networking
I'm trying to create an OpenVPN connection. My colleagues using Windows have received a self-extracting executable
that sets up everything, but I could recover the .ovpn and key files from their configuration.
The .opvn says:
dev…

xenoid
- 8,888
4
votes
1 answer
How to configure OpenVPN to only listen on given interface?
How can I configure an OpenVPN server on a Linux machine to only listen on given interfaces? Are there any features like this in OpenVPN?

LanceBaynes
- 40,135
- 97
- 255
- 351
4
votes
1 answer
forward vpn traffic to another vpn server
I have set up 2 VPN servers in 2 different locations (A running strongswan as server and openvpn as client; B running openvpn as server), And A and B is linked via openvpn. What I want to do is to make A route all client traffic to port 443 and 80…

JIA
- 51
3
votes
2 answers
Why is the OpenVPN service stuck at 'activating'?
I tried to set up OpenVPN following this step by step guide. Now I struggle to start the server using sudo systemctl start openvpn@server the output of
sudo systemctl status openvpn@server looks like this:
* openvpn@server.service - OpenVPN…

mabu
- 171
3
votes
1 answer
Route problem with OpenVPN
I've installed OpenVPN on a dedicated CentOS 7.2 server.
On several clients I tried to use it, but there is a problem I've noticed that there is a problem with routes.
Running traceroute 8.8.8.8 on client-side (once connected) returns :
traceroute…

0xmax
- 655
3
votes
0 answers
OpenVPN public IP on tun0 interface instead of vpn network
I can't access devices in local network behind openvpn client using public IP of VPN server.
A little bit of information:
Openvpn server (openVZ, Debian7)
Opevpn client (raspberry pi 2 raspbian jessie).
Everythink works fine, when I use other vpn…
Bartek
2
votes
1 answer
Openvpn clients can not access to LAN
Openvpn: clients connected to server = firewall; but can not access database in LAN
I have 5 vlan:
vlan 2: 192.168.12.0/24
vlan 3: 192.168.13.0/24
vlan 4: 192.168.14.0/24
vlan 5: 192.168.15.0/24
vlan 6: 192.168.100.0/24
All are LAN had been…

jimmy
- 21
2
votes
2 answers
Allow clients in network to communicate to client connected via OpenVPN
Network topology is like this:
OpenVPN Server:
Private IP (eth0): 10.0.4.23/16
Public IP (eth1): 77.20.30.40/24
Routes:
default via 77.20.30.1
10.0.0.0/16 (not routable, so no gateway)
10.8.0.0/16 via 10.0.0.65
On same private subnet we have…

Marko Todoric
- 367