Skip to main content

Questions tagged [vpn]

Questions related to VPN (Virtual Private Network) software

Filter by
Sorted by
Tagged with
200 votes
2 answers
302k views

Connect/disconnect from VPN from the command line

I have two VPNs setup on my Ubuntu machine, one using vpnc and one using PPTP. These were both setup using the GNOME network manager interface and work great. However on occasion I need to access this ...
Tim Fountain's user avatar
  • 2,099
117 votes
7 answers
257k views

How can I troubleshoot "VPN Connection Failed"?

Is there anyway to get an error log for a failed VPN connection attempt? All I get is this notification and I have no idea where to go from there.
Olivier Lalonde's user avatar
98 votes
13 answers
360k views

How do I install the Cisco Anyconnect VPN client?

I installed Cisco AnyConnect for Ubuntu(64) 12.04, but it failed. It can be installed on Ubuntu 10.10(64). The error log Installing Cisco AnyConnect VPN Client ... Extracting installation files to /...
chuck's user avatar
  • 1,081
91 votes
26 answers
439k views

How to disconnect from OpenVPN?

I'm connecting using VPNBook servers and it works fine with this command: sudo openvpn --config /etc/openvpn/vpnbook-udp-53.ovpn --auth-user-pass /etc/openvpn/password.txt but I just can't seem to ...
Adam's user avatar
  • 1,375
81 votes
6 answers
227k views

How can I make VirtualBox guests share the host's VPN connection?

Question When I start my VPN on my ubuntu desktop computer which acts as a router, the attached subnet loses internet connectivity, but is still accessible (LAN). Ideally, I would like to know how to ...
Programster's user avatar
  • 5,919
70 votes
5 answers
206k views

Easiest way to setup Ubuntu as a VPN server

I know there are many tutorials on the net for setting up VPN client and server. I you find one that is simple/short, I am interested only in the server part. For client, I will use OS X so I ...
sorin's user avatar
  • 9,928
65 votes
10 answers
146k views

OpenVPN connecting but no internet access on Ubuntu 16.04 / 18.04 / 20.04

I'm trying to connect to a VPN using OpenVPN. I tried using network-manager with OpenVPN plugin and tried too in terminal with ovpn.conf file. Everything connects (it says connection established) in ...
Shantanu Shady's user avatar
64 votes
6 answers
89k views

Unable to load VPN connection editor in Ubuntu 14.04 LTS

Some time ago I created a VPN connection using Ubuntus own Network Manager, which worked fine! Now, a few months later, I want to go in and edit the connections details, but instead I get this error: ...
Severin's user avatar
  • 1,511
60 votes
7 answers
246k 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?
Oxwivi's user avatar
  • 18k
54 votes
7 answers
56k views

Automatically turn on VPN on computer unlock Ubuntu 18.04

When I wake the laptop from the sleep I need to get the VPN state as I left it (turned on). Can't find the setting of autoconnect in VPN settings... Need some easy way to ask the system to autoconnect ...
0x49D1's user avatar
  • 715
54 votes
6 answers
331k 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
119k 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
  • 18k
49 votes
7 answers
231k views

OpenVPN GUI client for UDP/TCP

Is there any easy solution for OpenVPN being executed from Desktop for non technician people so they only push a button and get connected to a external VPN? Most of my colleagues are non Linux ...
jglerner's user avatar
  • 643
44 votes
8 answers
269k views

Is there a free VPN service that works on Ubuntu? [closed]

I use Hotspot Shield (Free VPN) on the Windows. Do anyone know of a similar tool or service for Ubuntu? that: Would not require me to have any server. would hide my IP. Would effectively tunnel all ...
user avatar
40 votes
4 answers
96k views

How can I ensure transmission traffic uses a VPN?

I'd like to ensure that transmission only sends/receives traffic when the server it runs on is connected to a VPN. I found this question which is similar but I don't want to force all traffic ...
Evan's user avatar
  • 3,725
37 votes
7 answers
45k 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
  • 973
33 votes
7 answers
77k 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
32 votes
3 answers
48k views

Ubuntu 16.04 LTS Network Manager cannot add VPN - greyed out

I'm trying to add a VPN to my network, but the option is greyed out. Screenshot of the greyed-out indicator I installed network-manager-openvpn but still no luck. Editing my connection does not show ...
Harmonic's user avatar
  • 1,005
32 votes
12 answers
88k views

How to automatically connect to VPN with Network-Manager

I do have a working VPN connection. Now I want this VPN connection to automatically activate when I'm in a certain wireless network. Is there a non-intrusive graphical way using network-manager-applet?...
turbo's user avatar
  • 4,632
32 votes
5 answers
58k 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 '...
ECII's user avatar
  • 3,957
32 votes
3 answers
132k views

What's a good free VPN for Ubuntu? [closed]

I travel a lot and am always using open wifis anymore. I know Ubuntu is a pretty sturdy OS with some good security, but I still want to be safe out and about. However, I've never used a VPN under ...
user avatar
32 votes
10 answers
33k views

No Internet connection after disconnecting from VPN in Ubuntu 18.04

In Ubuntu 16.04 I had no problems with VPN: after disconnecting I had Internet. In Ubuntu 18.04 I have no Internet after disconnecting from the VPN. I can actually ping 8.8.8.8 but not www.google.com ...
Daniel's user avatar
  • 4,030
32 votes
9 answers
59k views

Unable to connect to VPN using gnome-network-manager

I'm using Ubuntu 14.04. I originally wanted auto-connect VPN upon login, but after much trial and error and connection issues it looks like my network manager is corrupt. When I try to connect Wifi ...
TheMayne's user avatar
  • 459
31 votes
3 answers
61k 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 ...
htorque's user avatar
  • 65.1k
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
30 votes
2 answers
54k views

Where to add the Pre-Shared Key for the Server Authentication with Network Manager for L2TP/IPSEC?

Previously, I was trying to figure out how to install the L2TP/IPSEC manager code. I guess Ubuntu/Canonical switched away from OpenSwan to StrongSwan, but didn't really announce it. So that was ...
Pretzel's user avatar
  • 476
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
27 votes
6 answers
48k views

No more AnyConnect compatible vpn transport in Ubuntu 16.04?

Following my previous experiences with setting up Cisco AnyConnect VPN connections on Ubuntu 14.04 I tried the same approach here by installing packages: sudo apt-get install -y network-manager-...
Darko Miletic's user avatar
26 votes
2 answers
70k views

Connecting to Cisco VPN from Ubuntu 18.04 without a Group Password

I've installed the cisco vpn client by running: sudo apt install vpnc network-manager-vpnc network-manager-vpnc-gnome When I try to connect to it however, it's asking me for a Group Password. My ...
ContextSwitch's user avatar
26 votes
6 answers
61k views

OpenConnect VPN not in Network Manager in 16.04

I have network-manager-openconnect-gnome installed, but there is no option for OpenConnect in Network Manager. If I run sudo openconnect vpn.work.com And enter my details, I can connect to my work ...
Chas. Owens's user avatar
26 votes
2 answers
79k views

L2TP IPsec VPN client on Ubuntu 14.10

I need to connect to a L2TP IPsec VPN using Ubuntu 14.10. I previously used L2TP IPsec VPN Manager 1.0.9 from Werner Jaeger in Ubuntu 14.04, and it worked great, but that no longer appears to be ...
Doug Mai's user avatar
  • 261
25 votes
5 answers
85k views

How to set routes for my vpn connection

In my previous question I was asking about setting up vpnc connection. I've installed network-manager-vpnc so now I can configure all this stuff right from network manager gui. I have got this pretty ...
fl00r's user avatar
  • 1,383
24 votes
2 answers
46k views

NordVPN local network addresses not reachable when connected

I'm using nordvpn CLI on Ubuntu for quite a while but, since a few days, when I'm trying to reach any other client in my local network, I'm getting e.g. the following problem: $ ping 192.168.178.1 ...
ShEepCr3eper's user avatar
24 votes
5 answers
128k views

L2tp IPSEC PSK VPN client on (x)ubuntu 16.04

I am looking for a solution in order to connect to a vpn l2tp ipsec server from my Xubuntu 16.04 pc. I used to have Xubuntu 14.04 and I could connect without any problems following these tutorials: ...
Hyppo Drums's user avatar
24 votes
4 answers
92k views

How do I install the Cisco VPN client?

What is best way to install a Cisco VPN client application in Ubuntu?
moata_u's user avatar
  • 5,433
24 votes
2 answers
60k 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,163
23 votes
4 answers
85k views

Cisco AnyConnect Compatible VPN (openconnect) in Ubuntu 15.04?

I installed Cisco AnyConnect Compatible VPN (openconnect) $ sudo apt-get install network-manager-openconnect Reading package lists... Done Building dependency tree Reading state information... ...
Ignacio's user avatar
  • 817
23 votes
4 answers
47k views

How to connect my ubuntu to my workplace, GlobalProtect VPN, using win 7 VM

I want to connect to my work place PaloAlto GlobalProtect VPN. The problem: there is no linux client (or I can use linux but it requires cooperation of the IT group...)
ozma's user avatar
  • 426
22 votes
2 answers
56k 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
21 votes
7 answers
81k views

How can I see if I'm logged in via VPN?

I use Juniper Networks (a Java program that establishes a VPN connection). Does a command exist that lets me check if I'm logged in with Juniper?
Martin Thoma's user avatar
  • 19.5k
21 votes
2 answers
13k views

Cant stop FortiClient vpn from starting on startup

I'm using FortiClient for VPN purposes only and don't need it running any other time. I can't get disabled from starting on startup. How to disable auto-launching of FortClient on startup?
Sudesh Chaudhary's user avatar
21 votes
6 answers
66k 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
21 votes
2 answers
27k views

Unable to open "Cisco Anyconnect Secure mobility client" on my Ubuntu 18.04 LTS after the complete installation

I am having problems on a Cisco VPN. ISSUE: Unable to open "Cisco Anyconnect Secure mobility client" on my Ubuntu 18.04 LTS after the complete installation. I am able to see the icon on the ...
Hari's user avatar
  • 213
21 votes
3 answers
51k views

Ubuntu 16.04 openconnect cisco vpn failed to obtain webvpn cookie

On Ubuntu 16.04 I am getting the following error: $ openconnect -v vpn.com POST https://vpn.com/ Attempting to connect to server 1.1.1.1:443 SSL negotiation with vpn.com Connected to HTTPS on vpn....
sdstack's user avatar
  • 469
20 votes
3 answers
36k views

Can't connect to PPTP VPN with ufw enabled on Ubuntu 14.04 with kernel 3.18

Suddenly VPN disconnected and can't reconnect no longer on kernel 3.18.1, so I try to install kernel 3.18.2 but my problem still exist. But I can connect to VPN with 3.14 kernel easily. The output of ...
Daniyal Javani's user avatar
20 votes
6 answers
57k views

openvpn can't import configurations on new 14.04 installation

Edit: Fixed it back then when the patch rolled out with add VPN config. No longer use Linux/Ubuntu now. I installed the OpenVPN Network-Manager by doing: sudo apt-get install network-manager-openvpn, ...
vaioonbuntu's user avatar
20 votes
4 answers
14k views

How do I use OpenConnect via Network Manager to connect to Juniper VPN?

The more general question: How do I pass arguments/switches to the client in Network Manager? In order to connect to a Juniper VPN using OpenConnect, I use the following command-line: sudo ...
Allen's user avatar
  • 503
19 votes
1 answer
21k views

OpenVPN configure: error: lzo enabled but missing

openvpn-2.4.8 https://swupdate.openvpn.org/community/releases/openvpn-2.4.8.tar.gz Ubuntu 18.04.4 LTS I want to Build and Install OpenVPN. tar -zxf openvpn-<version>.tar.gz cd openvpn-<...
Osvald Laurits's user avatar
19 votes
9 answers
8k views

How can I access Facebook and other forbidden websites in China?

I'm flying to China soon for a long time, so I'd like to know how to configure my Ubuntu 11.04 so I can access forbidden websites (like Facebook) I've heard about VPN and Proxy, but I don't know how ...
巴梓诺's user avatar
  • 281
19 votes
6 answers
28k views

SSH fails with connection timed out - in VPN and hangs here "expecting SSH2_MSG_KEX_ECDH_REPLY" + Ubuntu 16.04.6 LTS

Raised bug -> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1874257 SSH timeout issue, once connect to VPN. Connecting via putty fine. No changes made before. VPN established by open-...
Jay's user avatar
  • 331

1
2 3 4 5
47