OpenVPN is a free virtual private network (VPN) client and daemon.
Questions tagged [openvpn]
845 questions
46
votes
3 answers
How to refuse routes that are PUSHed by OpenVPN server?
When I establish an OpenVPN client connection over the Internet to our corporate OpenVPN server, it pushes several static routes. Unfortunately, these routes break some connectivity within my local network environment, as they collide with my own…
mbaitoff
- 4,911
- 8
- 28
- 32
44
votes
4 answers
ssh into a server which is connected to a VPN service
I have a virtual private server, which I would like to run a web server while my server is connected to a VPN service
When the VPN connection to my provider is not up, I can do anything I want with this server, ssh, scp, http etc.
Once the openvpn…
Scott
- 483
- 1
- 5
- 8
30
votes
8 answers
Using OpenVPN with systemd
Ok, so I've been searching the web for solutions to this problem with no answers seeming to work for me. Hopefully someone can help me. I'm only trying to configure the OpenVPN Client.
I'm running CrunchBang Linux 3.2.0-4-amd64 Debian…
RoraΖ
- 443
- 2
- 6
- 11
26
votes
1 answer
OpenVPN: Push a route to client with a different gateway
I would like my OpenVPN server to push a route down to the client with a different default gateway.
Specifically, my OpenVPN server has an internal IP address of 10.0.0.1, and I would like it to push a route of 10.10.10.1/24 using gateway…
Lorin Hochstein
- 8,077
- 17
- 50
- 56
25
votes
4 answers
Port forward to VPN Client?
I've run into a bit of a puzzle and haven't had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to open ports to accept connections.
I currently…
Vile Brigandier
- 353
- 1
- 3
- 7
23
votes
7 answers
Failed to request VPN secrets #3
I am using Arch Linux with Gnome and I want to use openconnect to connect to an VPN server. I can do this at the command-line without a problem, but I can't do this with Gnome; I get the following error:
NetworkManager[589]: …
Greeneco
- 391
- 1
- 3
- 11
22
votes
4 answers
How to define DNS server in openvpn?
I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched over the Internet and SE, and every one suggests…
Siyuan Ren
- 1,302
- 2
- 11
- 15
21
votes
3 answers
Import VPN config files to NetworkManager from command line
One can import .ovpn files to NetworkManager through GUI tool nm-connection-editor (right click on nm-applet and click on Edit connections): Add -> Import a saved VPN configuration....
My goal is to do same thing but via command line using tools…
petRUShka
- 1,182
- 5
- 17
- 29
20
votes
7 answers
openvpn[]: Options error: In [CMD-LINE]:1: Error opening configuration file
when trying to service openvpn start
Oct 12 14:02:01 ccushing1 openvpn[9091]: Options error: In [CMD-LINE]:1: Error opening configuration file: devnet-client-vm.conf
running openvpn devnet-client-vm.conf works just fine. Why does openvpn not start?…
xenoterracide
- 57,918
- 74
- 184
- 250
20
votes
4 answers
Feed all traffic through OpenVPN for a specific network namespace only
I am trying to set up a VPN (using OpenVPN) such that all of the traffic, and only the traffic, to/from specific processes goes through the VPN; other processes should continue to use the physical device directly. It is my understanding that the…
zwol
- 7,089
- 2
- 19
- 31
19
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,380
- 25
- 108
- 167
19
votes
4 answers
port forwarding to application in network namespace with vpn
I was able to set up a network namespace, establish a tunnel with openvpn and start an application that uses this tunnel inside the namespace. So far so good, but this application can be accessed via a web interface and I cant't figure out how to…
pskiebe
- 193
- 1
- 1
- 7
18
votes
4 answers
NetworkManager fails with "Could not find source connection"
When trying to connect to a VPN using openvpn through NetworkManager, it fails with
Apr 17 02:03:17 GAMINGSTATION NetworkManager[1922]:
[1523923397.5294] audit: op="connection-activate"
uuid="186c555a-dd51-4dc1-97c9-70d93c30713d"…
F43nd1r
- 281
- 1
- 2
- 6
17
votes
1 answer
Where does GNOME Network Manager store passwords?
In Network Manager, under the Identity tab, I can enter a username and password for my OpenVPN connection. I can also enter a password for the "User private key".
Both password fields have the following options:
Store the password only for this…
lofidevops
- 2,967
- 6
- 39
- 58
16
votes
3 answers
How to allow SSH into Terminal after connecting to VPN server using NordVPN servers through OpenVPN?
I'm using Linux CentOS 7 Server and I already installed OpenVPN and NordVPN servers which I use to connect my Linux to.
After establishing the VPN Connection, immediately my SSH access got disconnected.
How to allow SSH access to the server while…
αԋɱҽԃ αмєяιcαη
- 1,233
- 6
- 21
- 43