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

learn more… | top users | synonyms

23
votes
3answers
35k views

How do I setup OpenVPN so I can securely use the internet from an unsecured hotspot?

Goal: I want to be able to securely use the internet via my home PC while my notebook is connected to an open hotspot/access point. I do know that I can use a SSH tunnel/SOCKS proxy, but I don't want ...
13
votes
2answers
44k views

How do I run a script after OpenVPN has connected successfully?

How can I associate a script to OpenVPN so that it runs when the VPN is connected successfully?
13
votes
3answers
33k views

How can I use a .ovpn file with Network Manager?

I have a .ovpn file with my VPN config - it works fine when I do sudo openvpn --config ~jrg/Documents/vpn-config.ovpn in the terminal, but I'd like to use Network Manager. How can I do this?
11
votes
2answers
4k views

How to configure an OpenVPN Client Router

I am attempting to set up an OpenVPN Router so that I may connect my tablet (wireless) and Blu-Ray (wired) to a paid VPN service in another country on Ubuntu 12.10. I have successfully done this using ...
10
votes
3answers
37k views

Where are the OpenVPN connection logs and configuration files?

I have problem connecting to OpenVPN server. Where are OpenVPN log files and how do I find the connection details?
9
votes
1answer
7k views

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 ...
8
votes
3answers
42k views

Setting VPN Client

I need to access VPN from my Ubuntu 12.04. I see that there is VPN connections > Configure VPN in network manager, but it asks for username and password. All I have is some .crt, .csr, .key, .ovpn ...
8
votes
4answers
11k views

Cannot Import VPN connection

Since 12.04 I cannot connect to my VPN. my ovpn file is the following http://email.uoa.gr/help/download/vpn/edunet.ovpn When I try to import the VPN file i get the following error The file ...
8
votes
3answers
14k views

openvpn can't import configurations on new 14.04 installation [closed]

i installed the openvpn network manager by doing: sudo apt-get install network-manager-openvpn, which also installs the gnome package. this made it possible to import configurations under 13.10, but ...
8
votes
3answers
30k views

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 ...
8
votes
3answers
3k views

Cannot resolve custom domains when VPN is up

I just upgraded to 12.04 from 11.10, and now I can't resolve custom domains over my VPN (e.g. *.dev.local). It worked splendid before the upgrade. Both my /etc/resolv.conf and route -n looks exactly ...
7
votes
3answers
14k views

Config import on network-manager-openvpn

I'm trying to use a free service using the OpenVPN protocol using OpenVPN's GUI module in the network manager. The config worked perfectly well as .ovpn on Windows. The behavior in Windows is such ...
7
votes
2answers
2k views

Exempt programs from using active VPN connection

When I connect to a VPN, all my network traffic is automatically routed through it. Is there a way to add exemptions to that? I don't know if adding exceptions has anything to do with the VPN ...
7
votes
3answers
3k views

VPN connection breaks internet

After installing OpenVPN properly (network-manager-openvpn) and setting up my VPN, I am not able to connect to any internet page or access anything that's remote. Pinging stuff is totally dead. I ...
7
votes
1answer
341 views

I want to use Ubuntu as a firewall and wireless AP, with some external traffic passing through openVPN, and the rest just through a firewall

I would like to do some configuration through Zentyal or a similar setup, but I am also willing to use config files. I am connecting to a commercial VPN using a username and password. I want that ...
6
votes
2answers
22k views

Where are VPN configuration files imported by Network Manager saved?

I've imported an OpenVPN configuration file that behaves differently when trying to connect from Network Manager and command line. I would like to see what the imported configuration file looks like.
6
votes
1answer
8k views

Getting OpenVPN to work with XFCE on Xubuntu? [closed]

I'm trying to get OpenVPN to work properly on my install of Xubuntu 11.10. So far, no luck. I've successfully set this up very easily using Ubuntu 11.10 so not sure why I'm seeing issues. The base ...
6
votes
3answers
6k views

gray button for saving “editing VPN connection” in Ubuntu 12.04

I have installed 12.04 and setting up the OpenVPN via network manager. the network-manager-openvpn-gnome is installed, and I can open "configure VPN..." and see "Add VPN", however I can not save my ...
6
votes
1answer
2k views

Network only using one DNS when connected to VPN

My company has a VPN that I need to connect to. In OSX, I do this by using openvpn with the following configuration: client dev tun proto udp remote <GATEWAY_ADDRESS> <PORT> resolv-retry ...
6
votes
0answers
1k views

OpenVPN: The VPN connection to … because of invalid VPN secrets

I am 3 days into using Linux. I set up an OpenVPN connection following the instructions set out by: https://www.goldenfrog.com/support/vyprvpn/vpn-setup/linux/openvpn OpenVPN installation went ...
5
votes
2answers
2k views

What does this command mean ls -l test.conf -rw-r--r— l root root?

root@ubuntu:/etc/openvpn# ls -l test.conf -rw-r--r-- l root root 791 Mar 20 09:23 test.conf What does the above command mean?
5
votes
2answers
5k views

Best Way To Learn How To Set Up OpenVPN On Amazon EC2/a VPS?

What is the best way to learn how to set up a VPN using OpenVPN on an Amazon EC2 server/a VPS? What level of proficiency is required in Linux System Administration for this?
5
votes
1answer
20k views

connect to openvpn using username and password

Is it possible to connect to an openvpn server using a username and password. I read that you need a config file on ubuntu, but I don't have a config file. How can I connect to my openvpn server ...
5
votes
1answer
904 views

When is network-manager-openvpn going to be updated to the 0.9 version?

Since bug 274930 implemented added functionalities in Network Manager regarding OpenVPN, the network-manager-openvpn plugin needs to be updated to 0.9 version to benefit from those improvements. At ...
5
votes
3answers
2k views

Unable to connect to VPN using gnome-network-manager

I originally wanted auto-connect vpn upon login, but after much trial and error and connection issues it looks like my network manager is corrupt. Unity ubuntu 1404 When I try to connect via ...
4
votes
5answers
10k views

VPN Autoconnect

Im using Ubuntu 13.04 with Gnome and I recently set up a (open)VPN. Is there any way to enable it by default? Each time I boot or even lost my connection, I have to enable the VPN manually. Is there ...
4
votes
3answers
6k views

Why will network manager not allow me save my VPN settings?

I am trying to configure am OpenVPN client on my laptop. I am running Ubuntu 11.10 64-bit. When I open network manager and import the VPN settings from the premade config folder everything takes. The ...
4
votes
2answers
1k views

How do I configure which programs go through the OpenVPN tunnel?

My institute has an internal network that can be accessed via a VPN server. It s turned on with a modprobe tun followed by a service openvpn start (which asks for remote authentication) I need ...
4
votes
2answers
11k views

How to use Google Authenticator with OpenVPN server on Ubuntu 12.04

I have a working OpenVPN system on Ubuntu 12.04 and I'd like to add Google Authenticator for extra security. This is my current openvpn config: dev tun proto udp port 1096 ca ubuserv04-ca.crt cert ...
4
votes
0answers
390 views

Asking for a SSTP connecting configuration file for using SSTP command line [closed]

Using sstp with Network Manager and DNScrypt stopped working on Ubuntu 12.04 DNSCrypt and Network manager and using Unblockvpn's SSTP - http://sourceforge.net/projects/sstp-client/ Connects the ...
3
votes
1answer
9k views

How to disable OpenVPN from autostarting at boot-up or reboot?

I am using Ubuntu 12.04.2 LTS, 64-bit, OpenVPN client 2.3.1 How do I prevent OpenVPN from autostarting at boot-up or reboot?
3
votes
1answer
11k views

Import OpenVPN client config in GnomeShell w/ network-manager

I have Ubuntu 12.04 and I've imported OpenVPN configs into network manager in the past with previous versions of Ubuntu and gnome. I have a new OpenVPN config and would like to import it, but can't ...
3
votes
2answers
11k views

Route all traffic through OpenVPN

Yep, this question has been asked a hundred times, and I have searched everywhere, to no avail. The title says it all really. I have an OpenVPN server (On ubuntu), and I can connect to it through ...
3
votes
2answers
3k views

OpenSSL remains vulnerable after update to 14.04

We have an AWS server running OpenVPN which was built using Ubuntu 13.10. After the announcement of the Heartbleed vulnerability, we updated the server. This morning, we upgraded the server to 14.04. ...
3
votes
1answer
271 views

Heartbleed and OpenVPN, am I safe?

I run my own OpenVPN server, since the discovery of heartbleed I updated OpenSSL, changed the server password and ran the command ./clean-all to erase all keys and certificates. And of course, I ...
3
votes
1answer
1k views

How do I configure NetworkManager to connect to two separate VPN servers simultaneously?

I have to connect to two OpenVPN servers at once. How do I configure NetworkManager to connect as a client to both? -- <OpenVPN1> -- <Resource 1> <laptop> - -- ...
3
votes
4answers
999 views

Setting VPN just for some special software, not for all parts of system?

How to use VPN just for some part of the system? This means that, for example, Firefox and aria2c will use the vpn and pidgin won't! Is it possible? In my case, I want to use VPN for whole system ...
3
votes
1answer
902 views

Force VPN Connection Automatic

I have a VPN connection on a server that must be connected at all times. I can make a connection, but I would like it to connect on boot, and if the connection drops it should reconnect automatically, ...
3
votes
0answers
720 views

OpenVPN fails from Network Manager, seems to connect from terminal, but no traffic to or from target network

I'm new to Ubuntu (as in, last week!) and really liking the system, but am having a real problem getting the OpenVPN connection to work. My system: DELL XPS L702X, 8Gb RAM, tested with both WiFi ...
3
votes
0answers
905 views

OpenVPN fails with invalid secrets

I followed these set of instructions: https://www.ipredator.se/guide/openvpn/ubuntu/gnome But unfortunately, when I connect it fails saying that invalid secrets are the cause. I'm quite sure that my ...
3
votes
0answers
442 views

DNS servers not correctly set in VPN

I have to use an OpenVPN network to work from home, and I occasionally have problems getting DNS to resolve. The problem comes and goes, and I can't reproduce it reliably. I took the OpenVPN config ...
2
votes
1answer
8k views

How to setup OpenVPN Client

I'm trying to setup OpenVPN using NetworkManager. The GUI seems buggy and unresponsive. Are there any other tools for setting up a VPN client?
2
votes
7answers
3k views

How do I open up firewall while keeping it safe?

Since I've installed Firestarter I have encountered connectivity issues that are all resolved by disabling the firewall. I'd prefer to have the firewall running and allow all the traffic I normally ...
2
votes
3answers
4k views

OpenVPN GUI client for UDP/TCP

Is there any easy solution for OpenVPN being executed from Desktop for non technician people so they only push a button and get connected to a external VPN? Most of my colleagues are non Linux ...
2
votes
1answer
6k views

OpenVPN is installed but it is not an avaliable option in the network manager

I have installed and used openVPN once before in a previous install of Ubuntu 12.04. I have since reformatted, and now after reinstalling openVPN it will not show up in the network manager. I am ...
2
votes
1answer
3k views

How to disable IPv6 when connecting to an OpenVPN server using Network Manager on a dual-stack system?

I'm using the OpenVPN client through the OpenVPN Network Manager plugin on a dual stack (meaning configured both for IPv4 and IPv6 connectivity) Ubuntu 13.10 to redirect all traffic through the VPN ...
2
votes
4answers
4k views

Can't access LAN behind OpenVPN from Ubuntu 13.10

I'm having trouble reaching the machines in a VPN. The server has a TAP configuration and I can successfully connect from a Windows 7 client. I've been following mainly this guide to get everything ...
2
votes
3answers
10k views

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

I wanna 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 wanna delete ...
2
votes
1answer
1k views

OpenVPN configuration on Ubuntu

I want to use OpenVPN on Ubuntu. The following three files are provided: client.conf tccg-ca.crt tccg-ta.key What are the steps to configure OpenVPN in Ubuntu by using these files. I have ...
2
votes
1answer
1k views

OpenVPN with IPv6

I have a tun OpenVPN server running in routed mode which was set up on a Ubuntu server and I know that Ubuntu's build of OpenVPN has support for the IPv6 for quite a while now but it didn't get much ...