Questions tagged [openvpn]

OpenVPN is a free and open source software application that implements virtual private network (VPN)

OpenVPN is a free and open source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol[2] that utilizes SSL/TLS for key exchange. It is capable of traversing network address translators (NATs) and firewalls.

1169 questions
22
votes
2 answers

No internet access when VPN connected

I have an OpenVPN config that I use on my Windows XP box and on my Ubuntu machine. When I use it with my Windows machine, I can connect to the VPN and access sites on the VPN, and the internet as normal. When I use it on my Ubuntu box, when…
user10669
  • 431
19
votes
4 answers

Check if OpenVPN is running

How can I check if OpenVPN is running on my server? I have tried with "sudo systemctl status openvpn", but I'm not sure if everything is ok, because I get: "Active: active (exited) since ..." ● openvpn.service - OpenVPN service Loaded: loaded…
JanezKranjski
  • 831
  • 7
  • 18
  • 36
18
votes
2 answers

OpenVPN HMAC Authentication Failure No Matter What I do?

I am having an issue with my openvpn server, running Debian Wheezy x64, and my client, running Ubuntu 14.10 x64. It seems no matter what configurations I try, I get this error, over and over, a couple times per minute at least: Mon Mar 9 22:14:10…
Chev_603
  • 1,676
  • 3
  • 18
  • 30
15
votes
1 answer

Difference between OpenVPN Access Server and just OpenVPN

I'm trying to setup a VPN using OpenVPN and I'm completely confused here. I followed some more less clear tutorials that include something like sudo apt-get install openvpn I configured here and there but never got the server running. Then I…
alvaroc
  • 641
8
votes
2 answers

openvpn --config client.ovpn fail: RTNETLINK answers: File exists

I'm on Ubuntu 16.04 Mate sudo openvpn --config client.ovpn results Initialization Sequence Completed with errors Tue May 30 23:54:41 2017 /sbin/ip link set dev tun0 up mtu 1500 Tue May 30 23:54:41 2017 /sbin/ip addr add dev tun0 10.10.10.3/24…
8
votes
3 answers

Help connecting OpenVPN in Ubuntu 12.04

I'm new in Ubuntu and would like to know if there exist a complete step by step tutorial on how to set up an OpenVPN connection. I am hoping that it would be as easy as doing it in Windows 7. I have .ovpn files that I want to use. Are there any…
7
votes
5 answers

Auto start Openvpn with one .ovpn file

Hi i bought vpn access form a vpn provider, i got a bunch of .ovpn files. How can i get openvpn to startup one of these .opvn files under start/boot up? I would like to, not have to run openvpn --config VPNservername.ovpn every time i have to do a…
starR
  • 427
  • 2
  • 6
  • 14
6
votes
1 answer

Where is OpenVPN's sacli?

I am trying to setup a Windows client and I need sacli in Ubuntu to create the client configuration file. Does anyone know where it is? I cant find it.
Langerz
  • 63
4
votes
2 answers

Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:1

Here is the my openvpn.conf. server 192.168.255.0 255.255.255.0 verb 3 key /etc/openvpn/pki/private/VPN.SERVERNAME.COM.key ca /etc/openvpn/pki/ca.crt cert /etc/openvpn/pki/issued/VPN.SERVERNAME.COM.crt dh /etc/openvpn/pki/dh.pem tls-auth…
4
votes
4 answers

How to remove lingering /etc/openvpn/ directory after removing OpenVPN package?

I want to completely remove openvpn from my pc (Linux Ubuntu 12.04) but when I type sudo apt-get remove openvpn the /etc/openvpn/ folder remains... How can I delete this too? I want to delete openvpn so I can install it again because I think I…
4
votes
2 answers

Cannot import .ovpn file from Network Manager GUI but using CLI still works

I'm trying to import a .ovpn fille in Ubuntu 20.04 using Network Manger GUI. Here's the steps I followed: Go to Network Manager -> Add VPN -> Import a file -> Select .ovpn file Import an ovpn file Then this shows up. The "Add" button is blurred so…
Hien Le
  • 141
3
votes
1 answer

How to add a user key pair to openvpn without remaking ca.crt

I recently set up an OpenVPN server and am trying to create a key pair for a new user. I do not want to rebuild ca.key or ca.crt but when i run easy rsa script build-key i get this: Please edit the vars script to reflect your configuration, then…
3
votes
0 answers

only allow external connections by openvpn

I have an openvpn configured and running. For security reasosns (I often have to connect from hotels WiFi) I need to allow my computer to connect to internet only if the vpn is running. How do I ensure this? I've tried a lot of things but nothing…
goldenpyT
  • 59
  • 1
  • 4
3
votes
1 answer

Using external VPN resources from inside VirtualBox

I'm using NetworkManager to connect to work via OpenVPN. It works nicely, but VirtualBox guests (connected to the host with NAT) can't resolve work-related hostnames. The OpenVPN server pushes a "dhcp-option DNS" to the client, so the host CAN…
Joril
  • 2,326
3
votes
1 answer

How to set up a VPN connection for both traffic encryption and secure point-to-point access to a remote server?

I live in a country (USSR) that does internet censorship, but doesn't (yet?) go so far as to shut off foreign internet altogether, implement "white-list" Great Chinese Firewall or ban encryption. I would like to set up a VPN connection on my home…
Nickolai Leschov
  • 8,250
  • 19
  • 50
  • 90
1
2 3 4 5 6 7