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
19 views

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 ...
3
votes
0answers
78 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
317 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 ...
3
votes
0answers
722 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: root@...
3
votes
0answers
685 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 'file-...
3
votes
0answers
65 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
70 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
995 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, client1....
3
votes
0answers
987 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
4k 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
465 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
16 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
384 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
151 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 dedi-...
2
votes
0answers
576 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
369 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
506 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
493 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
52 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: https://www.privateinternetaccess.com/forum/...
1
vote
0answers
25 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

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
88 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
134 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
57 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
98 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
87 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. https:...
1
vote
0answers
141 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
299 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 DHCP}}--...
1
vote
0answers
168 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
134 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
182 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
66 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
645 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
378 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
857 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
652 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
16 views

Can no longer access OwnCloud after installing OpenVPN

Installed owncloud, configured it properly and it worked. Installed and configured OpenVPN and can no longer access the server. Whenever I try to connect to the server the connection times out. The ...
0
votes
0answers
15 views

openvpn ubuntu no internet access from windows client

Having trouble getting access to the internet as well as the local domain file shares on the openvpn server here are my config files server conf file ################################################...
0
votes
0answers
5 views

How can I make OpenVPN run two --up scripts?

Im running uBuntu and I have a OpenVPN connection to my VPN provider and it runs a upscript that starts transmission and a few other things and a --down script that closes it etc. But its leaking DNS ...
0
votes
0answers
49 views

OpenVPN in ubuntu 16.04

I followed these steps: https://www.youtube.com/watch?v=tcx2-EkYYDg and installed network-manager-openvpn, network-manager-openvpn-gnome, network-manager-pptp, network-manager-vpnc but it can't ...
0
votes
0answers
22 views

openvpn client use as squid proxy over the vpn

is it possible to set an openvpn client as a squid proxy for the openvpn server? So i have the Server and the Client, both can connect over the vpn. And there is a squid proxy on the client. if theres ...
0
votes
0answers
17 views

Create separate Filters per User

I am running OpenVPN on Ubuntu 14.04 (dev tun) and I can't seem to get my learn-address script to run below I would like to run the learn-address script each time a user connects to OpenVPN that ...
0
votes
0answers
19 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