Questions tagged [vpn]
Questions related to VPN (Virtual Private Network) software
242
questions
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 ...
16
votes
2
answers
77k
views
Ubuntu 16.04 OpenVPN
When I choose the Connection Type in VPN Connections, I have only PPTP and I can't find OpenVPN, but I already installed it via terminal with the command sudo apt-get install openvpn easy-rsa
Why I ...
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 ...
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 ...
17
votes
4
answers
90k
views
How to install Juniper VPN on Ubuntu 14.04 LTS?
Could you please help me ?
On my old Ubuntu 13.10 I was able to run Juniper VPN (on Firefox only) using a workaround which requires you to install the missing 32libs and IcedTea (32bits).
However, I ...
16
votes
5
answers
112k
views
How To Debug and Fix PPTP/VPN Client Connection
I am asking a question, which has two sub-questions. Those are how can I get VPN to work on Ubuntu 12.04, either by getting the built-in pptp VPN to work or through manual configuration. Microsoft ...
16
votes
7
answers
56k
views
Juniper setup on 12.04
I have a laptop with Windows XP and Ubuntu 12.04 (32 bits). Until now, I used Windows XP to connect to a Juniper VPN but now I'd like to try it with Linux. I read the mad scientist walkthrough (...
1
vote
2
answers
4k
views
Is it possible to remove my default gateway from /etc/resolv.conf after successful VPN connection?
I have configured PPTP VPN connection on Ubuntu 16.04.3 LTS via NetworkManager (nm-pptp-ppp-plugin) and it works. My configuration:
VPN
Gateway
User name
Password
Advanced - set some options on PPTP ...
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 ...
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 ...
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 ...
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?
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 ...
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-...
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 ...
17
votes
3
answers
28k
views
How do I set up a PPTP VPN on my own Ubuntu Server?
Assuming I have a Virtual Private Server from someone like Linode, running Ubuntu, how do I easily set up a PPTP VPN so that Ubuntu clients can connect to it?
By default, Ubuntu offers to connect to ...
13
votes
6
answers
45k
views
How to connect to L2TP over IPSec VPN?
I'm having trouble connecting to my company's VPN on Ubuntu 15.04. It uses L2TP over IPsec, and I have a username, password and shared secret. How do I connect?
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.
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 ...
15
votes
2
answers
16k
views
Remote desktop access between 2 Ubuntu 20.04 devices over the internet
I have a workstation at my home office running Ubuntu 20.04 (i.e. the remote), this is connected to the internet with an ethernet cable. While traveling, I typically carry a lighter device along, a ...
11
votes
2
answers
9k
views
Connecting to VPN prevents access to normal web sites
I have Ubuntu 10.04 installed with OpenVPN, and when I connect to a VPN, http access to non VPN sites stops working, until I close the VPN connection. To be more specific, both Chrome and Firefox stop ...
8
votes
2
answers
6k
views
Exempt programs or domain from VPN connection
When I connect to a VPN, all my network traffic is automatically routed through it. Is there a way to add exemptions to that? I don't know if adding exceptions has anything to do with the VPN protocol,...
6
votes
2
answers
6k
views
Enforce VPN connection to access the Internet
I'm using a VPN when I'm online at an unencrypted wifi. Unfortunately, at my university the connection is quite unstable and at every reconnect the VPN connection is terminated and I manually need to ...
5
votes
4
answers
11k
views
How to prevent Juniper Network Connect breaking DNS resolutions
Juniper Network Connect has been an issue on 64bit Linux for quite sometime. I have found 2 solutions to the Java issue (Could anyone provide a step by step for getting juniper netconnect and citrix? ...
4
votes
9
answers
26k
views
22.04 l2tp client not working
I just updated to 22.04 from 20.04 and my l2tp vpn stoped to work, tried some tutorials making a purge to xl2tpd and downloaded a old version but still not working, is there any workaround? i work ...
2
votes
2
answers
2k
views
PPTP VPN randomly disconnects
My PPTP VPN works fine on Windows and Android.
On Android and Windows, no specific configuration is needed only I need to check PPP encryption(MPPE).
But on Ubuntu 20.04 it disconnects randomly ...
1
vote
1
answer
4k
views
No internet over VPN connection
After setting up a connection to a VPN network, I can not make internet connection over the VPN. I get no response from network commands like e.g. tracepath ubuntu.com.
The protocol is pptp. My ...
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 /...
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?...
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 '...
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 ...
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:
...
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 ...
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 ...
16
votes
1
answer
62k
views
How to get a VPN for ubuntu?
I saw a thing called VPN connections under the Internet button at the top of my screen.
So I would like more info on this, and possibly instructions on how to set one up. Thanks!
13
votes
3
answers
43k
views
How to get Netextender (VPN) working in Ubuntu 12.10 x64?
At work we have to use Sonicwall Netextender to connect over VPN. The NetExtender client works fine on Windows x64 for me, but when using the same settings in my Ubuntu , the connection seems to work ...
13
votes
4
answers
13k
views
How can I have my VPN connect automatically when the wireless connects?
I have a working VPN connection using NetworkManager, OpenConnect, and the network-manager-openconnect-gnome package, but I have to start it manually every time I connect to a network, and I have to ...
10
votes
2
answers
17k
views
Internet becomes unavailible after connecting through vpn
I am connecting to vpnc which breaks my internet connection. I understand, that this is because all my traffic is forwarding to vpnc now, so the problem is about routing.
So, how can I manage my ...
10
votes
3
answers
11k
views
No Network Manager icon in the notification area, so I can't use my VPN connection
I've added a VPN using System > Preferences > Network Connections. However, I can't see how to switch it on, because there's no Network Manager icon in the notification area!
nm-applet is running as ...
10
votes
2
answers
3k
views
Is it possible to auto-mount sshfs
Is it possible to auto-mount a remote FS using sshfs upon instantiating a proper VPN connection?
Allow me to explain the scenario, I'm working remotely, to do that it helps if I can mount my home dir ...
6
votes
3
answers
14k
views
Cannot connect to the internet after installing Cisco AnyConnect VPN Client
Today, I tried to install the Cisco AnyConnect VPN Client on my computer running Ubuntu 12.04 updatet earlier today. I followed the instructions on this webpage https://innsida.ntnu.no/wiki/-/wiki/...
4
votes
1
answer
8k
views
How do I fix a DNS leak?
Now that I'm using a VPN 24/7, I've been looking to enhance my privacy further and discovered the phenomenon called "VPN leaks"... Further investigation has revealed that my computer does in fact, ...
4
votes
1
answer
21k
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 ...
3
votes
2
answers
17k
views
Wi-Fi problem on Lenovo z50-70 with Realtek RTL8723BE
I've recently bought Lenovo z5070, I've installed on it both windows 8.1 and Ubuntu 14.04.2 trusty. I have some serous problem with Wi-Fi in Ubuntu.
First, when I turn on laptop at that moment the Wi-...
1
vote
1
answer
872
views
Cannot Load Sites unless connected to VPN
I cannot access many websites including our own office web portals without using VPN. I tried using sudo /etc/init.d/network-manager restart, and I also attempted to to edit /etc/network/interfaces to ...
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: ...
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 ...
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 ...
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 ...
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 ...