Questions tagged [vpn]

Questions related to VPN (Virtual Private Network) software

2325 questions
205
votes
2 answers

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 machine remotely - is there a way to connect or…
Tim Fountain
  • 2,149
122
votes
7 answers

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.
99
votes
13 answers

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 /tmp/vpn.teuSIr/vpninst096243274.tgz... Unarchiving…
chuck
  • 1,091
93
votes
26 answers

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 figure out how to stop it without a reboot. I've…
Adam
  • 1,395
82
votes
6 answers

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 enable the attached subnet to re-gain internet…
Programster
  • 6,039
70
votes
5 answers

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 prefer a solution that uses L2TP over IPsec or PPTP…
sorin
  • 10,135
66
votes
10 answers

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 terminal, but no internet access. I can ping…
Shantanu Shady
  • 820
  • 1
  • 7
  • 9
64
votes
6 answers

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: unable to load VPN connection editor. Any idea…
Severin
  • 1,531
63
votes
7 answers

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
  • 18,499
58
votes
7 answers

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 the VPN when the internet is available. Edit…
0x49D1
  • 755
54
votes
6 answers

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 my client (Windows 8) ... The problem starts when I…
Just Lucky Really
  • 723
  • 2
  • 10
  • 21
53
votes
3 answers

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
  • 18,499
50
votes
7 answers

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 proficients. So, their interaction with CL is very…
jglerner
  • 653
  • 1
  • 5
  • 8
44
votes
8 answers

Is there a free VPN service that works on Ubuntu?

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 my connections in Ubuntu. have free plans please…
amorde
41
votes
4 answers

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 through the VPN and I haven't been able to find a good…
Evan
  • 3,765
1
2 3
99 100