Questions tagged [vpn]

Questions related to VPN (Virtual Private Network) software

Filter by
Sorted by
Tagged with
8 votes
3 answers
5k views

NMCLI works in script when I run itdirectly , but not when run in CRON

This is under Ubuntu 11.10 I have a script that starts a PPTP VPN connection fetches a couple of files, then closes the connection. When I run this script from a terminal prompt it works perfectly; ...
Walter Anderson's user avatar
8 votes
1 answer
370 views

What packages add support for different VPN types to Network Manager?

What VPN types does Network Manager support, and what packages do I specifically need to install to allow the support of those VPN protocols?
Thomas Ward's user avatar
  • 74.9k
8 votes
2 answers
5k views

How to disconnect internet when VPN fails?

Normally I'm connected to the Internet with a VPN, but sometimes it fails and some programs may automatically start to use the default unsecure connection. How do I disconnect all the internet until ...
Bob's user avatar
  • 81
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
8 votes
1 answer
25k views

How to start VPN service manually? [closed]

Since this morning I cannot connect to pptp vpn. when I click on NetworkManager applet and select the vpn it says: VPN connection fail The VPN connection "whatever" failed because vpn service failed ...
Behzadsh's user avatar
  • 3,903
7 votes
2 answers
22k views

Can't save VPN passwords in Network manager (Xubuntu 16.04)

Just upgraded to Xubuntu 16.04, and wanting to set up my VPN. I'm trying to save my password in the network manager, but it refuses to save. Anytime I go back to it it's gone. I can also see that I ...
gammapoint's user avatar
7 votes
4 answers
28k views

Shrew Soft VPN fail to attach key daemon

I'm trying to use Shrew Soft to connect to my school VPN. But as you can see here, it says failed to connect to key daemon I searched for the solution and people who use Shrew Soft Trace Utility ...
Teng Zhang's user avatar
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
3 answers
33k views

pptpd VPN: No internet access after connecting

I've followed the instructions in this tutorial to set up a vpn server, so that I can connect to that and surf the internet virtually from another location. So far from windows, I can connect to it ...
Transcendent's user avatar
7 votes
2 answers
4k views

Enable and disable a VPN-connection with one Shortcut (nm-applet)?

Is this possible? I want to have one Shortcut which works like a On/Off button for a VPN (similar to a wireless on/off Button on many laptops). To achieve this, I would probably need a script ...
Patrick Christoph Lechner's user avatar
7 votes
1 answer
7k views

VPN default route issue when using the UI

When setting up a VPN connection using the UI (System settings => Network) the VPN connection is used as the default route after connecting to it. How can I avoid this? That is without assigning ...
Pieter Pabst's user avatar
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
19k views

How to enter password on console with NetworkManager's nmcli

I want to connect to a VPN with nmcli. Is there a way to allow me to provide a password to nmcli from the console? There seem to be ways to store the password in /etc/NetworkManager/system-...
Peter V. Mørch's user avatar
7 votes
4 answers
30k views

Access workstations without public IP - maybe with VPN

My friend told me, that without public IP of the workstations, I can access machines remotely. But I'm a rather confused in using VPN, I don't understand how can it manage to connect. I saw this video ...
antivirtel's user avatar
  • 3,645
7 votes
1 answer
9k views

Connecting to OpenVPN 2 factor via network manager

I have been trying to figure out if there is a way to connect to an openvpn network using 2FA through the network manager in ubuntu. Using the console I can connect and get the request for the 2FA ...
Rob Wilkinson's user avatar
7 votes
4 answers
33k views

How to automatically connect OpenConnect VPN when the connection closes?

I need to use a third party web service which is accessible only through Cisco AnyConnect VPN. I'm using OpenConnect on Ubuntu to connect to this VPN using host, username, and password. However, ...
chbh's user avatar
  • 73
7 votes
6 answers
19k views

PPTP connection disconnect

My pptp connection wont stay connected, it will disconnect in less than a minute here are some relevant log entries May 31 13:32:31 localhost NetworkManager[931]: <info> Starting VPN service '...
pinoyskul's user avatar
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
2 answers
33k 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
7 votes
4 answers
10k views

forticlient vpn broke the non-vpn dns

I am on Ubuntu 14.10 and I installed forticlient to connect to my work network (following their doc) and some time later I started having big trouble connecting to most internet site. After some ...
Juh_'s user avatar
  • 201
7 votes
2 answers
11k views

How to automatically connect to VPN in Ubuntu 17.10?

I can't seem to get my openvpn connection to automatically connect when I wake up from system suspend or reboot. The openvpn connection works fine through the GUI, except there is no option to auto-...
Nicholas Stommel's user avatar
7 votes
3 answers
9k views

Hamachi not working on Ubuntu 17.10

It seems that Hamachi is not working correctly on Ubuntu 17.10. In particular, every invocation of hamachi returns: Hamachi does not seem to be running. Run '/etc/init.d/logmein-hamachi start' to ...
Filippo Bistaffa's user avatar
7 votes
3 answers
31k views

How to route vpn through proxy?

I have an ISP (public hospital) who is blocking everything through a program called Fortiguard. It's very annoying. Its blocking my public library as a terrorist organization, my work email saying its ...
KI4JGT's user avatar
  • 1,820
7 votes
1 answer
13k views

How to set up an SSTP Server

Is there a way to set up a linux based, preferably ubuntu, SSTP server? I know there is a SSTP client available on sourceforge, but I can't find a server. To be clear: I do NOT want openVPN, I want ...
spambas's user avatar
  • 111
7 votes
1 answer
10k views

How do I connect to a VPN in GNOME-Shell?

I used to be able to choose "connect to vpn" from the network-indicator in Ubuntu but since I've upgraded to Ubuntu 11.10 I'm only using GNOME-Shell and I can't find any way to connect to a VPN from ...
Niklas's user avatar
  • 1,143
7 votes
3 answers
5k views

VPN connection breaks internet

After installing OpenVPN properly (network-manager-openvpn) and setting up my VPN, I am not able to connect to any internet page or access anything that's remote. Pinging stuff is totally dead. I ...
Industrial's user avatar
  • 1,698
7 votes
1 answer
6k views

VPN to office without routing all internet traffic

I'm using the Gnome Network manager to connect to my office VPN. It's using StrongSwan IPSec. It connects fine, but all my internet traffic is routed through the office. I don't want this, I only ...
psiphi75's user avatar
  • 946
7 votes
4 answers
18k views

openconnect is connected but does not use the right dns

sudo openconnect --protocol=nc [corporate vpn url] GET [corporate vpn url] Connected to [corporate vpn ip]:443 SSL negotiation with [corporate vpn url] Connected to HTTPS on [corporate vpn url] Got ...
Natalie Perret's user avatar
7 votes
1 answer
1k views

OpenConnect VPN on Ubuntu 18 set up like the default of OC on Fedora Workstation? Need PA GlobalProtect VPN

I have an older machine that is running Fedora Workstation 31. When I go into settings -> network -> Add a VPN, I see this: However, I tried to install OpenConnect VPN client for Ubuntu with ...
KidACrimson's user avatar
7 votes
1 answer
5k views

How do I create a vpn over another vpn?

I am in a network that for accessing internet we must connect to vpn. also there exist another service for special bandwith for some users. So for accessing this service I must create another vpn. But ...
Babak Mehrabi's user avatar
7 votes
4 answers
12k views

How to debug grayed out VPN connection in Network Manager?

I've added a new PPTP VPN connection under Network Manager -> VPN Connections -> Configure VPN. Now the connection is listed under "VPN Connections", but it's grayed out. How can I debug this? ...
alex's user avatar
  • 143
7 votes
1 answer
13k views

vpn (pptp) service failed to start [closed]

When I try to connect to a VPN PPTP connection from Network Manager it fails with this message: vpn connection failed because the vpn service failed to start. It worked without any problem till I ...
ali's user avatar
  • 71
7 votes
1 answer
507 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,489
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
1 answer
27k views

Unable to connect L2TP IPSec VPN from ubuntu 16.04 [duplicate]

I am trying to connect L2TP IPSec VPN connection from my Ubuntu 16.04 laptop. Every time I am facing same error since the same credentials working properly to connect VPNs server from any windows ...
Pratip Ghosh's user avatar
6 votes
2 answers
11k views

OpenVPN setting up own server 2 errors

I followed a guide on creating your own VPN using OpenVPN and only encountered two errors from openVPN guide. I think my VPN is created but I thought this would be useful since I am in Libraries using ...
timmyspan's user avatar
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
2k views

VPN - short read (-1): 'Message too long'

So I'm trying to use my VPN at a hotel wifi where I'm on a vacation, but for some reason I get this annoying problem. When I connect to my VPN in about a few seconds it breaks, and syslog shows: Jun ...
Alex Botev's user avatar
6 votes
2 answers
77k views

Wireguard handshake works but no internet access

First off: this is not a duplicate. I've tried everything except OpenVPN or IPSec. I'm receiving a handshake between the client and server, and SSH and Ping work between clients, but I cannot access ...
kektagen's user avatar
6 votes
1 answer
12k views

How to install PAM for OpenVPN server?

I followed a guide on installing an OpenVPN server on Ubuntu successfully, and all is well with authenticating and connecting, etc. However, now I want to implement username/password authentication (...
nothing's user avatar
  • 63
6 votes
2 answers
14k views

How do I get this Cisco VPN client to connect?

I've got Ubuntu 10.10 64 bit and installed network-manager-vpnc and configured the connection but I keep getting this: NetworkManager[1217]: <info> Starting VPN service 'org.freedesktop....
Dennis Hostetler's user avatar
6 votes
3 answers
17k views

Forticlient SSL VPN binary not running

I've got a Mac running VMWare fusion with Ubuntu 10.10 in that. I'm currently using the Fortinet client from OSX, but that client is buggy, every time my Mac sleeps I need to reboot to get the SSL/...
Niels Bom's user avatar
  • 1,236
6 votes
3 answers
64k views

How To Initiate VPN From Terminal [duplicate]

Under "System" > "Preferences" > "Network Connections" I can create PPTP VPNs. This works when I am at a GUI, I can click the network connections icon in the top right, and select a VPN from the list ...
Baldrick's user avatar
  • 635
6 votes
3 answers
5k views

How to whitelist / blacklist certain urls not to use VPN connection?

Sidenote: I turns out that our OpenVPN server is indeed setup for split tunneling, but our clients are pushing their own gateways: redirect-gateway def1 bypass-dhcp bypass-dns This was done as a ...
k0pernikus's user avatar
  • 6,115
6 votes
4 answers
17k views

Adding DNS servers to Ubuntu 18.04

There is no less than 3 different ways to add DNS servers posted all over the internet. I have been reading netplan documentation and am I still not clear on how to add dns servers to a laptop. I am ...
Ph055a's user avatar
  • 69
6 votes
2 answers
5k views

Mullvad VPN Client won't start on 18.04

Was working great on Ubuntu 16.04 for a long time. I got a new computer 2 weeks ago and waited til this week to install Ubuntu. I followed the Mullvad client instructions here: https://mullvad.net/en/...
hedlit's user avatar
  • 61
6 votes
2 answers
20k 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

1 2 3
4
5
46