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

learn more… | top users | synonyms

20
votes
3answers
27k 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
16k 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
33k 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
3k 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 ...
8
votes
4answers
8k 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
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
3answers
2k 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
36k 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
12k 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
25k 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
2k 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
295 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
16k 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
5k 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 ...
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
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 ...
5
votes
1answer
845 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
3k 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 ...
4
votes
3answers
4k 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
485 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
293 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
14k 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
5k 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
15k 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?
3
votes
4answers
622 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
6k 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
843 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
1answer
158 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
253 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
0answers
398 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
2k 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
1k 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
1answer
8k 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
994 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
986 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
7k 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
140 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. ...
2
votes
1answer
6k views

Ubuntu 12.04 and now cannot get my vpn connection

I just upgraded to Ubuntu 12.04 ( 3 days ago ) and before that I had a very stable vpn connection even if 11.10 was less stable but now I cannot connect to my vpn account at home and at work either ...
2
votes
1answer
365 views

Reading network-manager password from another hdd

Today I cloned my Ubuntu 11.10 into my old hdd, and installed 12.04 into my current hdd. What I need now is to recover passwords for my VPN connections on the network manager that is in the old 11.10 ...
2
votes
0answers
323 views

OpenVPN connection timeout

i am trying to establish a VPN connection using OpenVPN. I think have set up the VPN server correctly. I followed this instructions. From the server i have received the files ca.crt, ca.key, ...
2
votes
1answer
943 views

OpenVPN - Routing issue

Server: Ubuntu 11 (Openvz VPS) Client: Windows 7 Issue: clients connect successfully to VPN, but loss of internet access once inside the VPN. Facts: Everything mostly defaults Is a ...
2
votes
1answer
79 views

Is it possible to configure openvpn in ubuntu according configuration files relevant to windows?

I am using openvpn in windows and have the configuration files as well. Unfortunately the service provider doesn't have any guide or configuration files for Linux users. Is it possible to use windows ...
2
votes
0answers
631 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 ...
2
votes
0answers
692 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 ...
2
votes
0answers
2k views

/etc/init.d/openvpn not starting automatically but can be started manually

This is about init.d or Upstart init or something else, maybe, I think. But only OpenVPN is affected so far, after upgrading from Ubuntu 12.04 LTS to Ubuntu 12.10 on my VPS. The problem is: OpenVPN ...
2
votes
0answers
523 views

OpenVPN not listening on port

I just set up an OpenVPN server on a VPS but sadly I can't connect to it. When I made a portscan I found that my custom 11940 port where openvpn should listen is closed. The default 1194 port is also ...
2
votes
0answers
376 views

Save openVPN password using network manager

I'm using network manager on Ubuntu 12.04, with Mate as a desktop. The network manager is used to connect to the openVPN server. Each time I click to connect to the openVPN server, I'm required to ...
2
votes
1answer
3k views

Getting openvpn working ubuntu

I am trying to set up a VPN over a few VMS that I have. I created an openvpn server on ubuntu 10.04 and am trying to configure the client using 12.04. I followed these instructions here ...