Questions tagged [vpn]

Questions related to VPN (Virtual Private Network) software

Filter by
Sorted by
Tagged with
21 votes
6 answers
65k views

How to save VPN passwords with NetworkManger for nmcli?

There are many posts about putting VPN passwords into /etc/NetworkManager/system-connections/<connection>. I can't get any of them working on Ubuntu 12.04. The fields in the questions and ...
Peter V. Mørch's user avatar
19 votes
6 answers
37k views

Imported OpenVPN (.ovpn) Profile not working anymore after update to Ubuntu 22.04

2 days ago I updated my Ubuntu Distro from 20.04 LTS to 22.04 LTS. After the update, I've noticed that my private OpenVPN tunnel is not working anymore in the new update, in Ubuntu 20.04 was working ...
Gianlu28's user avatar
  • 191
17 votes
1 answer
53k views

Wireguard VPN Client GUI

I have already running 12 WireGuard VPN Servers. Now I want to use an application to manage the connection on the clients. On my Arch-Linux Client I have the network-manager-wireguard plugin running ...
KingCartman's user avatar
14 votes
3 answers
8k views

systemd-resolved, resolvconf.service, resolvconf and openresolv. Why, which and how?

I'm using a VPN client which adds two name servers to /etc/resolv.conf. All my connections are managed by Network-Manager. I have to use this VPN client for my work VPN but after Ubuntu went to ...
Christian's user avatar
  • 1,729
13 votes
2 answers
23k views

VPN L2TP/IPSec client on Ubuntu 16.04 VPN service failed to start

On Ubuntu 16.04, I've already followed a couple of tutorials to rebuild network-manager, also installed via apt-get install network-manager-l2tp network-manager-l2tp-gnome. It was working until ...
Fabiano's user avatar
  • 243
13 votes
1 answer
14k views

How do I connect to L2TP over IPsec using Network Manager?

I am trying to connect to a L2TP over IPsec VPN I installed network-manager-l2tp and this repository : ppa:nm-l2tp/network-manager-l2tp and when I'm trying to add the connection from Network ...
sticsk's user avatar
  • 1,561
13 votes
8 answers
21k views

block outside dns, fix dns leak ubuntu 18.04

Using dns leak test while under my VPN I discovered that it was leaking. I've setup my VPN via NetworkManager and it works properly except for the leak. First, i've tried to add block-outside-vpn to ...
Pobe's user avatar
  • 200
13 votes
1 answer
24k views

Can't SSH to server with VPN connection

This is quite messed up, I know. Let me explain it all. I have a dynamic DNS set on my router. I verified that, after port forwarding, I can connect to desired application (if I run something on port ...
Krzysztof Kraszewski's user avatar
12 votes
7 answers
79k views

Server certificate problem with Cisco AnyConnect VPN Client

When I try to connect using the Cisco AnyConnect VPN Client, I receive this error: Connection attempt has failed due to server certificate problem. I happened to have this problem in my previous ...
Mohammad Moghimi's user avatar
11 votes
1 answer
27k views

How to configure VPN settings?

When I started working for my current employer, everyone (myself and my boss included) were on Windows 7 machines. About 6 months ago, my boss gutted Windows 7 on his machine and replaced it with ...
zharvey's user avatar
  • 1,785
10 votes
2 answers
34k views

How to set up an sstp vpn connection?

the question is simple: how to set up an sstp vpn connection in ubuntu 11.04? as of this moment I haven't been able to find a way to make an sstp vpn connection.
2hamed's user avatar
  • 3,293
10 votes
4 answers
11k views

Is there a VPN Monitor/Kill Switch application for Ubuntu?

Hi I am looking for a VPN Monitor/Kill Switch application that will ensure my VPN connection is always connected. Should my secured connection drop, the application will drop the applications that it'...
AsianXL's user avatar
  • 333
9 votes
1 answer
22k 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 ...
Relik's user avatar
  • 497
7 votes
1 answer
12k views

How do I set up an Ubuntu server to be (securely) available from the internet?

I want to build an Ubuntu server that will be continuously connected to the internet. I own only an IP address. The main purpose of the server is to be a source code controller (probably git or svn... ...
Steve B's user avatar
  • 285
7 votes
4 answers
19k views

How to install IKE software on Ubuntu 20.04

Is there a easy way to install this VPN client IKE software over Ubuntu 20.04?
upToLinux's user avatar
  • 121
7 votes
6 answers
8k views

NM-applet's VPN menu disappears

I spend my days hopping between VPN connections in Ubuntu 10.10 and this is becoming severely annoying. What happens is that every once in a while - typically several times a day - when I click on the ...
Gustav Barkefors's user avatar
7 votes
2 answers
32k views

Can't connect using NordVPN

I'm getting a "transport is closing" error when trying to use nordvpn connect uk I've tried these 2 commands from https://aur.archlinux.org/packages/nordvpn-bin/ sudo systemctl enable --now ...
Russell England's user avatar
6 votes
2 answers
19k views

How do I share samba via Open VPN? Is that possible?

I have configured open VPN in my home so that it can be accessible from my office easily. Now I want to share samba via my open VPN. How can I share samba over open VPN between Ubuntu and Windows? ...
Dinesh Dhananjayan's user avatar
6 votes
5 answers
16k views

vpnc has stopped working with Cisco VPN gateway Ubuntu 13.04

Recently I've been unable to connect to a Cisco VPN gateway using vpnc even though I had been using vpnc to connect to this same gateway for about a year leading up to this breakage... I'm using the ...
mgalgs's user avatar
  • 181
6 votes
9 answers
51k views

Fortinet SSL VPN Client and Ubuntu 12.04

I want to install the Forticlient SSL VPN Client on Ubuntu 12.04. I've downloaded the latest version from the Fortinent support site but when I try to run the installer (vía command line or GUI) it ...
Juan's user avatar
  • 63
6 votes
3 answers
4k views

I can't get any L2TP + IPSEC client to work on Ubuntu 14.04 with pre-shared key, can you?

Such a simple question, why is it so difficult to get working? It seems unbelievable but I haven't found a single solution to this that actually worked. Which is why I'm actually asking this ...
hookenz's user avatar
  • 2,579
5 votes
1 answer
24k views

Cannot connect to OpenVPN after upgrade to 18.04

After upgrading to Bionic, OpenVPN gives me the following error when connecting to my company's VPN nm-openvpn[3360]: OpenSSL: error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak ...
Bastian Voigt's user avatar
4 votes
3 answers
6k views

How to make sure all internet traffic only goes througth VPN?

I have a VPN connection and I want to make sure that all traffic use this VPN connection. I though of using iptables. ideas somebody? ten x
userAgent's user avatar
4 votes
3 answers
7k views

I cannot create a new VPN connection 14.04

I have installed ubuntu 14.04 and it seems like I cannot actually create a VPN connectionor manage the network devices. When I am accessing the network connection using the network icon at the gnome ...
elico's user avatar
  • 51
4 votes
4 answers
15k views

E: Unable to locate package nordvpn

I tried installing nordvpn on Ubuntu 18.04 and Ubuntu 20.04 but keeps showing me the above error message. I've tried every possible option on the internet from forums to forums, still nothing. I used ...
FOBABS's user avatar
  • 421
4 votes
4 answers
20k views

How can I force Ubuntu 22.04 SERVER to use ONLY the DNS servers listed in /etc/systemd/resolved.conf (NOT my router's DNS) AND use DNS-over-TLS?

I have added these lines to /etc/systemd/resolved.conf in a Ubuntu 22.04 SERVER install with NO DESKTOP - I emphasize that because I can't use the normal desktop method of setting network options in ...
UbuntuUser's user avatar
4 votes
1 answer
16k views

Create VPN server using the Ubuntu VPS

I have an Ubuntu (Debian) VPS in USA, NOW want to make up VPN service on it. Can you help me to handle it, please. Which program surplussed me for. What about Socks!. [I need it too] How can I ...
iSoheil's user avatar
  • 43
3 votes
2 answers
13k views

Use OpenVPN only for one application/service

I am using a ubuntu server hosted elsewhere. On that server one of the things running is transmission. I was wondering if I could have the VPN only for that application as once I enable the VPN, I ...
user avatar
3 votes
1 answer
20k views

Connected to OpenVPN Server but can't SSH

I created a OpenVPN Server on my Ubuntu 18.04 home server using this tutorial. I can't connect to my VPN using tunnelblink on my mac but I get a message saying that my apparent IP address did not ...
N. Chalifour's user avatar
3 votes
1 answer
16k views

New Cert for company VPN, now openconnect does not work

So thanks to an "upgrade" at work, we got a new VPN certificate. It is self-signed, and it no longer works. Here is the syslog: openconnect[6002]: Connected to xxx:443 openconnect[6002]: SSL ...
mmaceachran's user avatar
2 votes
1 answer
8k views

Making a SSH VPN [duplicate]

So by using ssh you will connect to a server by typing in ssh User@PrivateIP how would it be possible to turn that code into a piece of code that works like a VPN (so searching for example google from ...
user avatar
2 votes
2 answers
5k views

SSH and VPN Cisco connection working on one laptop but not on another. Both laptops using Ubuntu 14.04. Where is the difference?

I'm trying to SSH to our university server using VPN and WIFI connection. The bug is similar to this one, although different in details. The problem is as follows: Me and my colleague are using ...
Stepan's user avatar
  • 61
1 vote
1 answer
6k views

l2tp/ipsec problem

I want to connect an Ubuntu client to a VPN server in l2tp/ipsec mode. I used l2tp-ipsec-vpn and network-manager-l2tp on Ubuntu 16 . in 2 cases I get this error : "vpn-connection failed to connect ...
test test's user avatar
1 vote
1 answer
14k views

No write permissions on a file even with `sudo` [duplicate]

I modified /etc/resolv.conf to configure DNS for my VPN. Now I would like to modify it again but I can't. The operation is not permitted even if I use sudo nano /etc/resolv.conf I tried to start in ...
Anonymous's user avatar
  • 113
1 vote
1 answer
5k views

Network Manager does not set IP4.GATEWAY for OpenVPN connection

I have a configured OpenVPN connection which works fine when connecting from command line openvpn --config myconfig.conf Now, I'd like to establish this OpenVPN connection automatically when ...
Damn Terminal's user avatar
1 vote
7 answers
16k views

Juniper Network Connect not working on ubuntu 16.04

Previously, on Ubuntu 15.04, I had managed to follow this guide http://ubuntuforums.org/showthread.php?t=2275776 and get the Juniper Network Connect to work properly from Firefox and connect to my ...
Alberto C's user avatar
1 vote
2 answers
13k views

Ubuntu server 16.04 to 2 gateway at same time

I cant find a working guide to make work the following scenario: Need to configure a server to be capable of working with 2 routers at same time. Its a virtual machine. Network 1 192.168.1.0/24 ...
Oscar Soriano's user avatar
0 votes
1 answer
178 views

Is it correct that a torrent gets downloaded via enp3s0 (eth0) even if outgoing traffic is restricted to a VPN on tun0?

I modified my iptables according to the answer from Musclehead here so that my transmission-daemon can just send outgoing traffic to tun0 (which is a VPN). (Hint: My eth0 is called enp3s0.) Now, if I ...
bomben's user avatar
  • 2,059
0 votes
1 answer
3k views

L2TP / IPSec VPN Issue

I am trying to configure L2TP client on our Ubuntu 22.04 Server. I have configured the credentials and see the following errors in the Log May 2 09:31:39 nl-live NetworkManager[31815]: xl2tpd[31815]: ...
opensource-developer's user avatar
0 votes
1 answer
4k views

Can't connect to VPN on 14.04 LTS

I think this is a known issue in other versions. From /var/log/syslog: Nov 3 15:13:55 somemachine NetworkManager[1048]: <info> Starting VPN service 'vpnc'... Nov 3 15:13:55 somemachine ...
user447607's user avatar
0 votes
2 answers
5k views

How to check that VPNC (VPN Cisco) works on Ubuntu 14.04?

I connect with VPNC and get the message: VPN connection was successfully established. and a lock in the WiFi icon in the upper-right corner of Ubuntu Desktop appears. How to check that VPNC really ...
Stepan's user avatar
  • 61
0 votes
1 answer
683 views

Suddenly not able to access resources on VPN network in Ubuntu 18.04?

I'm using openvpn, and had imported my client.ovpn file to Network Manager via the GUI. Up until yesterday I was able to access resources on my company's VPN network without any issues. At first, I ...
YourObedientServantA.Bear's user avatar
54 votes
6 answers
330k 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 ...
Just Lucky Really's user avatar
53 votes
2 answers
116k 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.
Oxwivi's user avatar
  • 17.8k
36 votes
7 answers
44k views

Auto reconnect to VPN on disconnect?

I'm an Ubuntu GNOME user and I was wondering if there is a way to be able to automatically reconnect to a VPN on disconnection. I'm using the OpenVPN protocol. I've checked Network Manager thoroughly ...
SNH's user avatar
  • 963
33 votes
7 answers
76k 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 (...
Damn Terminal's user avatar
30 votes
2 answers
31k views

Having DNS Issues when connected to a VPN in Ubuntu 13.04

I am connecting to a Cisco VPN Server using vpnc. Once connected, my machine was unable to automatically update DNS setting from the new VPN. I tested by temporarily changing /etc/resolv.conf with the ...
etsauer's user avatar
  • 403
28 votes
5 answers
62k views

Which free VPN providers support Ubuntu? [duplicate]

Can't find any free VPN provider for Ubuntu. I tried looking into old questions but they seem to be outdated.
Jitin Kinger's user avatar
23 votes
2 answers
59k views

How to setup VPN using an .ovpn file? [duplicate]

I've been using Ubuntu 18.04 for about 3 days now and so far it runs smoothly. I now need to install a VPN for my work, and I got the following files from the sysadmin: ca.crt VPNConfig.ovpn I first ...
kramer65's user avatar
  • 2,133
22 votes
2 answers
55k 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 ...
Alex M.'s user avatar
  • 221