Skip to main content

Questions tagged [vpn]

Questions related to VPN (Virtual Private Network) software

1,132 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
13 votes
2 answers
16k views

Getting openconnect vpn to work through network-manager

This is the same issue as here: Getting openconnect vpn to work through gui , but my additions to it were deleted and I was asked to create a new question. In fact, there are a number of folks asking ...
user avatar
8 votes
0 answers
6k views

How to use Socks5 across the whole system like a VPN?

I'm looking for a way to use configured a Socks5 across the whole system including terminals, apps, browsers, etc. For instance, I run a socks5 proxy on my localhost on port 1080 using V2ray or ...
Benyamin Jafari's user avatar
8 votes
0 answers
4k views

Cisco AnyConnect dropped and can't reconnect without reboot

I am using Cisco AnyConnect on Ubuntu 18.04. The VPN sometimes got disconnected unexectedly. I try to reconnect, even quit the GUI, kill all process for programs under /opt/cisco, restart ...
biocyberman's user avatar
8 votes
0 answers
8k views

Cisco AnyConnect: Posture Assessment Failed: CSD library signature verification failed

All of a sudden AnyConnect stopped working. Version 4.5 on ubuntu 16.04. I'm now getting the following error when trying to connect. Any ideas on how to resolve it?
Alexphys's user avatar
  • 241
7 votes
1 answer
512 views

VPN disconnect - do not stop internet

By default (I guess) Ubuntu cuts my internet connection whenever I disconnect a VPN, which is nice unless you don't want it, and have to reconnect (stop and start) your connection every time. How can ...
php_nub_qq's user avatar
  • 1,529
7 votes
1 answer
2k views

Is L2TP over IPsec possible in Ubuntu 16.04 LTS?

I am trying to connect to a VPN via L2TP over IPsec in Ubuntu 16.04. I know a small handful of posts here and bug reports have begun to document this issue, but I believe my experience, if somewhat ...
Karl's user avatar
  • 71
7 votes
1 answer
4k views

How can I get NetworkManager to autoconnect to a Openconnect VPN via nmcli without prompting for a user and password

I am trying to set up a script driven VPN connection with nmcli on Lubuntu 12.10 using Openconnect and NetworkManager and I cannot seem to get it to connect either with the saved credentials or via ...
Dennis Hostetler's user avatar
6 votes
2 answers
5k views

How to configure OpenConnect with an XML file?

I'm not too familiar with VPNs and I'm having a hard time connecting to a VPN service with OpenConnect. The VPN service I've purchased uses Cisco AnyConnect, which I can't get for Linux, but the ...
fuzzybabybunny's user avatar
6 votes
0 answers
3k views

VPN: openconnect how to indicate a form field for authentication purposes?

I am trying to connect to a corporate vpn using openconnect (protocol Global Protect): perret at perret-pc in ~ $ openconnect --protocol=gp [vpn-address] POST [vpn-address]/ssl-vpn/prelogin.esp?tmp=...
Natalie Perret's user avatar
6 votes
0 answers
5k views

Cannot disconnect from NordVPN

System Info: Ubuntu 18.04.1 LTS NordVPN Version 2.0.0 I recently installed the nordvpn-release_1.0.0_all.deb following these instructions. I'm able to connect to a VPN server via terminal using ...
philiporlando's user avatar
6 votes
0 answers
3k views

vpnc works but network-manager-vpnc fails

I am trying to connect to a vpnc vpn. I first created a conf file /etc/vpnc/clientvpn.conf looking like this: ## generated by pcf2vpnc IPSec ID mygroupid IPSec gateway some.ip.add.ress IPSec secret ...
alci's user avatar
  • 5,839
6 votes
0 answers
1k views

How can I connect to Microsoft Direct Access?

My company has moved from Cisco VPN to Microsoft Direct Access. I was using network-manager-vpnc to connect from Ubuntu before. Can I use the same to connect to direct access? If not, how can I ...
Chethan Ravindranath's user avatar
5 votes
0 answers
1k views

Ubuntu 19.10: "Add" OpenVPN connection is grayed out

I'm trying to add a new OpenVPN connection on a fully-updated Ubuntu 19.10 PC, but the Add button uptop is grayed out: I already tried to: zane@zane-pc:~$ sudo apt-get install network-manager-...
Dr. Gianluigi Zane Zanettini's user avatar
5 votes
1 answer
763 views

Openvpn connection problem using network manager

I have problem with connecting to vpn my company gave me those files along with a password I tried to import them this way 1- I go to Network Setting 2- then I press the plus button to add new ...
Neji Soltani's user avatar
5 votes
0 answers
4k views

openvpn stuck at systemd-tty-ask-password-agent

trying to start openvpn and I keep getting this: Broadcast message from root@Media (Thu 2017-08-03 07:28:29 EDT): Password entry required for 'Enter Auth Password:' (PID 31285). Please enter ...
Walter 's user avatar
  • 341
5 votes
0 answers
2k views

tun0 doesn't have internet access

I'm using OpenVPN on tun0 (Ubuntu 16/EC2), I can successfully start it with systemctl start openvpn@Ireland (PIA's Irish cluster), but the interface doesn't have Internet access: curl --interface ...
The Onin's user avatar
  • 150
5 votes
3 answers
5k views

Restrict Deluge to tun0 only but allow Deluge Web UI over eth0

After many searches I have been able to restrict deluge network traffic to only the VPN interface tun0 using the following command: sudo iptables -A OUTPUT -m owner --uid-owner deluge \! -o tun0 -j ...
Corann Faun's user avatar
5 votes
0 answers
5k views

enable MSCHAP and MPPE for VPN connection

I have setup a VPN configuration file, the connection is responding but in order to actually connect to it I need to enable MSCHAP, MSCHAPv2 and MPPE, just like the picture here: The problem ...
PepperoniPizza's user avatar
5 votes
1 answer
11k views

Openswan's ipsec verify fails on "Two or more interfaces found, checking IP forwarding"

I'm trying to set an L2TP/IPsec VPN. I have installed openswan from the repository on Ubuntu 13.04 Section: universe/net Architecture: amd64 Version: 1:2.6.38-1 and configured it following the ...
Damn Terminal's user avatar
5 votes
1 answer
5k views

No network access through PPTP

I would like to be able to connect to the office network and access the internet through that network and the servers within the network. I use a server running Ubuntu Server (fully updated) behind a ...
Frank's user avatar
  • 61
4 votes
0 answers
1k views

Using "sudo openconnect" sets VPN DNS, but Gnome VPN setups don't on Ubuntu 20.04

OK, forgive me, but this is my first time posting about openconnect issues. Before my disk crash, I was using Ubuntu 18.04 LTS. I reinstalled it and remembered that to make it connect to my ...
Brian Cowan's user avatar
4 votes
2 answers
11k views

Wireguard fails to build module even tho kernel headers are installed?

Installed wireguard in Xubuntu (Ubuntu 18.04.4 LTS) via PPA. The kernel module failed. # modprobe wireguard modprobe: FATAL: Module wireguard not found in directory /lib/modules/5.3.0-51-generic I'...
feffer's user avatar
  • 41
4 votes
0 answers
1k views

Ubuntu 20.04 VPN PPTP doesn't work

syslog error: May 8 09:54:21 pptpteste-VirtualBox pppd[2367]: LCP: timeout sending Config-Requests May 8 09:54:21 pptpteste-VirtualBox NetworkManager[2367]: LCP: timeout sending Config-Requests May 8 ...
Anderson Carneiro's user avatar
4 votes
2 answers
346 views

IP command using to 100% CPU on wakeup

On laptop wakeup I see a process called ip that uses 100% CPU. It won't stop on its own, I need to manually kill it every time. By looking for it in ps I could find that the command being run is ip ...
Dean Elbaz's user avatar
4 votes
0 answers
910 views

Unable to connect to Azure VPN on Ubuntu 18.04

I have one Azure P2S VPN gateway configured for my subscription. I am able to connect to it from any windows machine with no error. I want to connect to it through Ubuntu Machine. So I followed steps ...
Pranav Patil's user avatar
4 votes
3 answers
16k views

Nordvpn does not work on UBUNTU

I have problems with connecting to Nordvpn on my Ubuntu 18.04.02.LTS since 3 days. I am using terminal to connect to servers. When I try to connect to one of server I receive information: Whoops! We ...
fidos3k's user avatar
  • 41
4 votes
0 answers
646 views

Ubuntu 18.04 using VPN have Ipv6 leak

I am using Ubuntu 18.04 with all the updates. I am also using a VPN that supports Ipv6. After setting up my VPN some time ago I kept getting stuff from Thailand where I live. I finally found doileak....
Michael Lempenau's user avatar
4 votes
1 answer
11k views

Openconnect XML response has no “auth” node and failed to obtain WebVPN cookie on Ubuntu 18.04

After successfully installing openconnect using apt on Ubuntu 18.04, when I try to connect to VPN using $ openconnect https://xxx.xx.xxx/ XML response has no "auth" node Failed to obtain WebVPN ...
Suraj Tiwari's user avatar
4 votes
0 answers
1k views

Help creating a Network Namespace to run a VPN

My intention is to setup a Network Namespace which will have a VPN running in it. I plan on having certain applications configured to start in that Namespace to be behind the VPN. Anything not ...
Viperean's user avatar
  • 141
4 votes
0 answers
1k views

How can I prevent DNS leakage when using a VPN in Ubuntu 18.04?

I recently installed Ubuntu 18.04. I want to ensure that my DNS requests use my VPN DNS rather than my ISP DNS. In 16.04, preventing DNS leakage was easy: just disable the dnsmasq entry in /etc/...
user203748's user avatar
4 votes
1 answer
4k views

Command line connect to L2TP Windows Server VPN

I have been searching for a couple of days not much luck as and everything i come across relies on using the Network Manager UI. Could someone provide me with a noobish tutorial on how I would ...
Martin Barker's user avatar
4 votes
3 answers
9k views

I can't connect to VPN under Ubuntu, what is possible on Windows

I was provided with an access to the VPN server. All I got were server's IP, username and password. Under Windows connecting to the server was easy - I just had to type the information I received. ...
Przemysław Długoszewski-Tamoń's user avatar
4 votes
0 answers
949 views

Network manager times out using OpenVPN, but VPN is working

I'm trying to connect to a VPN service using the gnome network manager applet. It times out when I try to do this and this is what I see in /var/log/syslog: Sep 15 18:50:13 mylaptop NetworkManager[...
MisterStrickland's user avatar
4 votes
1 answer
899 views

Nautilus crashes when connected to remote server and VPN connection is lost

Since last week I've been getting some trouble with nautilus when connecting to a remote server (sftp://username@server). I connect to a remote server at my university via VPN, but as soon as the ...
Sjeng's user avatar
  • 41
4 votes
1 answer
3k views

How To debug and fix a PPTP VPN client connection

I have just installed Ubuntu 13.10 and I'm trying to set up a VPN client. I have configured it with the same settings I use on a Mac and I am able to connect from that without any problem. When I ...
ksl's user avatar
  • 824
4 votes
1 answer
3k views

DNS Routing Fails for VPN Connections on Ubuntu 16.04 Out-of-the-Box

I would like to report some odd behavior, and my solution. I am left extremely unsatisfied as it relies on custom scripts and non-standard packages. I would like the community's help in figuring out a ...
ok123jump's user avatar
  • 161
3 votes
0 answers
2k views

openconnect fails with "No SSO handler"

Previously I could connect to my office Windows machine remotely from Ubuntu using: sudo openvpn --mktun --dev tun1 sudo ifconfig tun1 up sudo openconnect ${VPN_SERVER_ADDRESS} --authgroup=${...
user643722's user avatar
3 votes
0 answers
13k views

IPSec VPN Client on Ubuntu 22.04 LTS

I am trying to connect to a IPSec VPN on Ubuntu 22.04 LTS. In the past this worked, but after upgrading from 20.04 it didnt. I deleted the configuration and trying to add it again using the UI. My ...
Carol Eisen's user avatar
3 votes
1 answer
1k views

No intenet w/ VPN after suspend Ubuntu 22.04

A few days ago I upgraded 20.04 -> 21.10 -> 22.04 and noticed that after suspend there's no internet connection over wifi. Only reboot helps. Tuning off and on wifi drivers by modprobe -r ...
Michael's user avatar
  • 131
3 votes
1 answer
10k views

How to setup WireGuard client so only traffice for specific IPs is routed over VPN

I am using the Wireguard VPN client on Ubuntu 20.04 through the network-manager plug-in. The plug-in reads the configuration file I got from the sys admin, which is below (network-manager also handles ...
Joseph Huber's user avatar
3 votes
0 answers
544 views

Setting up OpenVPN to connect to VPN with 2FA (google Auth)

I have an issue with my Ubuntu 20.04 machine, where I am required to login to the office VPN using OpenVPN. The system administrator gave us the connect.ovpn file which works without issues when using ...
David Bugyi's user avatar
3 votes
0 answers
450 views

Unable to connect to L2TP/IPSec VPN via NM and xl2tp

I have been to troubleshoot all morning as to how to get connected to my employer's VPN via Network Manager. I found a number of support threads on various sites and have tried all of what was ...
Trevor Sears's user avatar
3 votes
0 answers
2k views

How to get systemd-resolved to use /etc/hosts when openFortiVPN is active

Ubuntu 18.04. I have a host entry in /etc/hosts and this is being resolved correctly when I use nslookup. My /etc/nsswitch.conf looks like # /etc/nsswitch.conf # # Example configuration of GNU Name ...
Brett Bergquist's user avatar
3 votes
0 answers
2k views

Connect to VPN in Ubuntu 20.04 without Shrewsoft VPN client

I've previously been connecting to our work VPN using Shrewsoft VPN client but it seems the ike packages were dropped after Ubuntu 18.04. I've recently upgraded to 20.04 and hoping to keep it, but I ...
Martyn's user avatar
  • 153
3 votes
0 answers
4k views

problem using pritunl VPN client on ubuntu 20.04 due to faulty DNS resolution

I am having problems using a VPN with the pritunl client on Ubuntu 20.04. When using the VPN, I am able to get pings (i.e. ping 8.8.8.8 is fine), but websites are not loading. From searching online, ...
Zorglub29's user avatar
  • 489
3 votes
0 answers
11k views

How to uninstall OpenVPN Access Server?

I need to remove OpenVPN Access Server completely from my system. I installed it with root access(sudo -i) using the following commands from the OpenVPN website: apt update && apt -y install ...
Rafay Khan's user avatar
3 votes
0 answers
2k views

Ikev2 Strongswan vpn: UFW doesnt route internet traffic

I installed a strongswan ikev2 vpn many times on ubunut without problems. But now on a fresh installed ubuntu server I cant get it to run. Connect to the vpn does work but I cant get a internet ...
BestimmungGefördert's user avatar
3 votes
3 answers
798 views

VPN difference between 16.04 and 18.04

I have 2 PCs which I want to connect to a L2TP/IPSec VPN, one of them runs Ubuntu 16.04 and it works fine. The other one runs 18.04 and it can't connect to the server, although the settings are ...
jenald's user avatar
  • 107
3 votes
0 answers
3k views

OpenVPN connection Error: Connection activation failed: Could not find source connection

This relates to Ubuntu 18.04 LTS. The XFCE4 GUI desktop environment is installed. After the upgrade from 16.04 LTS to 18.04 LTS, my VPN connections, previously working, no longer work. I have set ...
Arskin Fertrubble's user avatar
3 votes
0 answers
456 views

how to keep local default gateway when connecting witn VPN

i used VPN to connect to my Windows server 2016 at our office. vpn pptp and Remina. everything works very well. but when i disconnect, the default gateway is changes and do not come back to local ...
Richard Dinel's user avatar

1
2 3 4 5
23