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

learn more… | top users | synonyms

4
votes
0answers
4k views

UFW for OpenVPN

I want to configure ufw (uncomplicated firewall) for OpenVPN. Connections are only allowed through OpenVPN. Everything else should be blocked. So if OpenVPN is disconnected -> no internet! I found ...
3
votes
0answers
50 views

Bash Script Works On Command Line but not at startup

Let me ask this another way: There are at least (2) ways to have a bash script called automatically when a user connects to OpenVPN: Placing the script in the /etc/network/if-up.d folder Renaming ...
3
votes
0answers
479 views

Xerus - missing L2TP plugin for Network-Manager?

On my Windows 7 box, I used Cisco AnyConnect to remote into my workplace network. Now playing wih Xerus. I set up an L2TP VPN connection using nmcli, but not much luck activating it: ...
3
votes
0answers
419 views

“error: the plugin does not support import capability” when attempting to import openvpn config file

Gnome network manager can't import any openvpn config file (.ovpn) after upgrade ubuntu to 16.04 version; I get the following error message when I try to import openvpn config file: The file ...
3
votes
0answers
61 views

OpenVPN Not Forwarding Traffic on Ethernet

For some reason, my OpenVPN connection does not connect to the internet when I connect to the server over a wired connection. This seems to only be happening on Ubuntu 15.10, as I can connect out on ...
3
votes
0answers
68 views

Ubuntu 14.04 - Modify OpenVPN files manually

I am using a VPN (Private Tunnel) to download stuff / play games at dorms (ports are blocked, VPN allows me to bypass that). I also am trying to create a script in python that allows me to create new ...
3
votes
0answers
967 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, ...
3
votes
0answers
968 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
3k 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 ...
3
votes
0answers
464 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
0answers
279 views

[HELP]Ubuntu 16.04 vs OpenVPN & Google Authenticator

:-) I tried searching for a solution to my problem, but was unable to find any, other than "it's a bug in OpenVPN". Essentially the problem is this: OpenVPN w. Google Authenticator does not seem to ...
2
votes
0answers
15 views

VPN bandwidth usage logging

I have an Ubuntu 14.04 server running OpenVPN and expect to have 10 or so unique clients using it at any given time. I will be issuing unique certificates to each device. Is there a straightforward ...
2
votes
0answers
378 views

VPN entries no longer appearing in Ubuntu 15.10

I have a range of VPNs configured and working in 15.04, and accessible from the network icon in the toolbar (network -> VPN Connections). I've updated to 15.10 and that list is now empty. VPN ...
2
votes
0answers
412 views

ubuntu 14.04 VPN: <info> VPN plugin state changed: stopped (6)

I'm trying to connect with vpn to work I get the following: Jun 11 17:48:11 MYLAPTOP NetworkManager[1104]: <info> Starting VPN service 'vpnc'... Jun 11 17:48:11 MYLAPTOP NetworkManager[1104]: ...
2
votes
0answers
145 views

Connecting to VPN server closes SSH tunnel

Once I start to connect the VPN, I immediately lose the connection to my dedi-server. My aim is to still be able to ssh to my dedi-server, even if I connect to the external VPN server with my ...
2
votes
0answers
569 views

How to configure openvpn on ubuntu 14.04

How can I configure openvpn on Ubuntu 14.04? root@suzz-System-Product-Name:/home/suzz# sudo apt-get install openvpnReading package lists... Done Building dependency tree Reading state ...
2
votes
0answers
363 views

Can't connect to VPN on Ubuntu 14.04

I am new to Ubuntu. I have configured VPN set-up on Ubuntu 14.04 but could not connect. System log shows following errors: Jun 28 13:35:50 rana-laptop kernel: [ 9723.920954] sd 6:0:0:0: [sdb] Test WP ...
2
votes
0answers
3k views

OpenVPN on Ubuntu 14.04: Auto Connect on startup

There are a lot of topics concerning this. OpenVPN Auto Connection by putting the conf file to /etc/openvpn just doesnt work. When using the Authentification type "password" an easy way to make it ...
2
votes
0answers
496 views

route traffic throught openvpn

Before I ask my question, let me clarify for dear moderators that I've searched a lot for a solution, but none of the questions/answers on Askubuntu (and other Stackexchange sites) addresses my ...
2
votes
0answers
1k 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
492 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 ...
1
vote
0answers
22 views

16.04 XUbuntu - OpenVPN losing DNS after a couple minutes

Stock install of Xubuntu 16.04. Followed this guide to install OpenVPN for Network Manager, and to download the certs and opvn files for PIA VPN: ...
1
vote
0answers
22 views

OpenVPN: internet lost

I have installed OpenVPN on my computer which is running Ubuntu 14.04. Basically when I try to run OpenVPN, I lose access to the Internet. I tried to turn off ufw,to change my nameserver and also I ...
1
vote
0answers
13 views

Samba share distributed on VPN subnet

I am trying to connect to a Samba share through a VPN I set up using OpenVPN. Both, Samba and OpenVPN are set up within a Virtual Machine runnning Ubunutu 14.04. On the client side I'm using several ...
1
vote
0answers
12 views

Start a GUI in NetworkManager if-up.d script

I was wondering if it was possible to start a graphical application from a bash script when my openvpn is up. I was trying with command like this: gksudo -u username "sh -c '(/usr/bin/firefox &) ...
1
vote
0answers
22 views

Installing regionally restricted packages on 14.04

So I've been trying to install Skype* but it didn't work because it's restricted in my region by the original company, so I tried to install the OpenVPN package but it's also restricted in my region. ...
1
vote
0answers
81 views

OpenVPN and wlan0 won't play nice

I've setup a WIFI connection using /etc/network/interfaces that works very well. udooer@udooneo:~$ cat /etc/network/interfaces # Loopback network interface auto lo iface lo inet loopback # Primary ...
1
vote
0answers
130 views

How do I route all network traffic through OpenVPN using network manager in Ubuntu 15.10?

I am trying to connect to my university's VPN on a 15.10 machine. When I do it via the command line, all the traffic is routed through the VPN: That's what I want. When I load the same OpenVPN ...
1
vote
0answers
56 views

Can't set the openVPN without dns leaks

I found that I have leaks when I set my VPN through Terminal. I found couple thread and tried to use this method - How can you test for a DNS leak for an OpenVPN provider? I made everything, when I ...
1
vote
0answers
85 views

Using pushed DNS from OpenVPN with NetworkManager on Trusty Tahr

My company provides me a VPN connection that also hosts a DNS server for names that are internal to the VPN. Currently, it sets all my traffic to route through the VPN, which works but is undesirable. ...
1
vote
0answers
82 views

Redirect one IP to VPN (openvpn)

I have followed this guide about setting up openvpn for the first time and I was able to successfully setup a connection from my windows machine to the Ubuntu server where openvpn is installed. ...
1
vote
0answers
127 views

OpenVPN: Mac client not connecting to Xubuntu Server

I've been trying to configure a VPN connection between a server running on Xubuntu 14.04, and the client running on Mac OSX Yosemite with no luck. I'm trying to make the connection with Tunnelblick. ...
1
vote
0answers
271 views

How to share VPN connection to local ethernet?

I have a collection of machines in my local network which I would like to get into VPN as easily as possible. I'm thinking using a single PC as a gateway as follows: {{bunch of machines using ...
1
vote
0answers
163 views

Routing traffic over p2p1 and tun0 correctly

I have been trawling these questions and trying many different solutions to get this working, but I seem to have a problem with getting my routing set up correctly. I have a box installed in a network ...
1
vote
0answers
127 views

Proxy VPN settings in Network Manager: for remote or local?

So I am at some place with a normal (direct) internet connection and want to go through a remote network (my work) where I need a proxy to access the internet. Thus, I need to configure also a proxy ...
1
vote
0answers
175 views

dns problem in guest after host connection to vpn

I configured linux guest in kvm runing on ubuntu14.04 host. It runs without any problem and has no issues with DNS. After connecting host to VPN (OpenVPN), guest is not resolving anything from DNS ...
1
vote
0answers
65 views

OpenVpn dosen't work with pppoe connection

When I want to connect to my openvpn It worked fine and I have ping form google but when connect with pppoe connection and then set up my openvpn it doesn't work I think maybe because pppoe is kind of ...
1
vote
0answers
53 views

Warning when not connected via a VPN?

Is there a way in which I can have Ubuntu display a warning when not connected to the Internet via a VPN (for example, a pop-up notification)? I am aware that there are ways to force Ubuntu to block ...
1
vote
0answers
618 views

Mullvad VPN (openvpn) keeps disconnecting / reconnecting (14.04)

New user of Ubuntu 14.04 here. Thanks to the community for all the support with answering questions! The Mullvad VPN client breaks and re-establishes the connection every few minutes! In one example ...
1
vote
0answers
371 views

Kubuntu Network Manager setting wrong route when using OpenVPN

When I use the build in OpenVPN functionality of the KDE Network Manager in compairsion to the native openvpn program, I wont get any connection to the internet. I have a Ubuntu OpenVPN server ...
1
vote
0answers
816 views

Vpn traffic not going through tun0

Good afternoon! I'm trying to configure a VPN server in Ubuntu using openVpn. I already configured the server.conf file and the client.conf file (one of my vpn clients is a Windows virtual machine ...
1
vote
0answers
629 views

Set max-routes from network-manager-openvpn

The openvpn of my company is pushing about 250 routes. I can connect by the command line interface of openvpn by using max-routes 300 in the clients config file. By importing this file into nm, this ...
1
vote
0answers
208 views

Configuring ufw and iPredator VPN

I am running a VPN via IPredator on Ubuntu 12.04 Desktop, which works perfectly, when ufw is disabled. When I enable ufw, I logically cannot establish a connection. IPredator states that I have to ...
1
vote
0answers
2k views

Invalid VPN Secrets! No Server Certificate Verification Method Enabled

I'm trying to set up a vpn (from VyperVPN) with OpenVPN and keep getting an invalid VPN Secrets error. I've been searching for a solution for a day and a half mow to no avail so i though i would come ...
0
votes
0answers
13 views

instances of openvpn server on a Ubuntu server

Anyone know how many instances of openvpn server can I run simultaneously on a Ubuntu server (EC2 Amazon).
0
votes
0answers
11 views

firewall script to limit download bandwidth based on ip's

does anyone have a script to limit the download bandwidth of more than (1) user connecting to OpenVPN? Many thanks
0
votes
0answers
19 views

How to enable OpenVPN access to ONLY the internal LAN

I'm trying to setup an OpenVPN connection to a company server so that anyone working from home or is out of the office can access our internal resources. I have the VPN setup correctly, using a guide ...
0
votes
0answers
12 views

network-manager times out connecting to openvpn server (TLS error)

I am trying to connect to an open vpn server through the network manager; below are the system logs for connecting through NM and using the client directly. The client connects fine but NM doesn't NM ...
0
votes
0answers
44 views

Bash Script Not Working

I hope this is an easy answer Problems: I placed the following bash script called learn-address.sh in the following folder: vi /etc/openvpn/netem/learn-address.sh Added the following two lines to ...
0
votes
0answers
56 views

OpenVPN server setup on 16.04

I'm trying to setup an OpenVPN server on my Raspberry Pi 2, running Ubuntu 16.04. I'm following the official Ubuntu documentation from this page. I've got the basic setup working, and I'm now trying ...