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

learn more… | top users | synonyms

22
votes
3answers
32k 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
26k 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
38k 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?
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 ...
9
votes
1answer
6k 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
4answers
10k 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
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
40k 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 ...
7
votes
3answers
7k 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 ...
7
votes
3answers
29k 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 ...
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
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
326 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
19k 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
3answers
26k 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?
6
votes
1answer
7k 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
2answers
1k 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 ...
6
votes
3answers
5k 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
435 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 ...
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
878 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 ...
4
votes
5answers
8k 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
5k 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
756 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
0answers
346 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
3answers
17k 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 ...
3
votes
1answer
7k 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
2answers
2k 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
1k 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
259 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
654 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
796 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
2answers
9k 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 ...
3
votes
1answer
881 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
425 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
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
1answer
2k 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
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
3answers
3k 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
8k 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
10k 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 ...
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 ...
2
votes
2answers
10k views

OpenVPN - Password Authentication Only

When using the OpenVPN Client for Windows, I can log into the OpenVPN server with only a username and password. I can't figure out how to make the same thing happen in Ubuntu. It seems that some kind ...
2
votes
1answer
83 views

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 ...
2
votes
1answer
233 views

Set up OpenVPN (Mullvad)?

I'm trying to set up an OpenVPN virtual adapter for my Mullvad VPN service (which is excellent, by the way). Anyway I'm in the Network Connections utility/panel/applet/whatever-it-is and I am trying ...
2
votes
1answer
142 views

Ubuntu Launcher Toggle

I am looking to create a 'toggle' to put in my Unity Launcher to either start or stop my OpenVPN setting. Basically I am looking for an icon that could either sudo /etc/init.d/openvpn start ...
2
votes
1answer
176 views

Restore networking after failed and rolled back vpn setup

At some point I tried to set up VPN on my home server, but couldn't get it to work. So I finally decided to roll the setup back (uninstalled openvpn) as I didn't really need it, but now the server ...
2
votes
1answer
2k views

OpenVPN on Ubuntu OpenVZ

I finished configuring OpenVPN on my OpenVZ vps. When I run service openvpn restart I get the following error output: * Stopping virtual private network daemon(s)... * No VPN is running. ...