Questions tagged [vpn]

Virtual Private Network

911 questions
48
votes
3 answers

Use ssh with a specific network interface

I'm using openconnect to connect to vpn. After entering my credentials, I get this: POST https://domain.name/... Got CONNECT response: HTTP/1.1 200 OK CSTP connected. DPD 30, Keepalive 30 Connected tun0 as xxx.xxx.xxx.xxx, using SSL Established DTLS…
axel22
  • 654
  • 2
  • 6
  • 9
30
votes
8 answers

WSL - DNS not working when connected to VPN

I've used WSL Bash/Ubuntu for several years, but for some reason this problem recently appeared. DNS is unable to resolve any names, both internal and external. The first time I re-installed WSL I think it worked, for a day... but not anymore, even…
Morten
  • 451
  • 1
  • 4
  • 7
25
votes
4 answers

Port forward to VPN Client?

I've run into a bit of a puzzle and haven't had much luck finding a solution. Right now I am (sadly) connected to the net via Verizon 3G. They filter all incoming traffic so it is impossible for me to open ports to accept connections. I currently…
Vile Brigandier
  • 353
  • 1
  • 3
  • 7
23
votes
3 answers

can't ssh into remote host with root, password incorrect

I have a remote host, previously I can ssh into it with root and password ssh root@remote_host or I ssh into it first using a regular user account ssh esolve@remote_host and then su root and input password but today, in both ways, my password is…
misteryes
  • 1,303
  • 4
  • 19
  • 24
23
votes
7 answers

Failed to request VPN secrets #3

I am using Arch Linux with Gnome and I want to use openconnect to connect to an VPN server. I can do this at the command-line without a problem, but I can't do this with Gnome; I get the following error: NetworkManager[589]:
Greeneco
  • 391
  • 1
  • 3
  • 11
21
votes
2 answers

getting Checkpoint VPN SSL Network Extender working in the command line

The official Checkpoint out command line tool from CheckPoint, for setting up a SSL Network Extender VPN is not longer working from the Linux command line. It is also no longer actively supported by CheckPoint. However, there is a promising …
Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
21
votes
3 answers

Import VPN config files to NetworkManager from command line

One can import .ovpn files to NetworkManager through GUI tool nm-connection-editor (right click on nm-applet and click on Edit connections): Add -> Import a saved VPN configuration.... My goal is to do same thing but via command line using tools…
petRUShka
  • 1,182
  • 5
  • 17
  • 29
20
votes
4 answers

Feed all traffic through OpenVPN for a specific network namespace only

I am trying to set up a VPN (using OpenVPN) such that all of the traffic, and only the traffic, to/from specific processes goes through the VPN; other processes should continue to use the physical device directly. It is my understanding that the…
zwol
  • 7,089
  • 2
  • 19
  • 31
18
votes
4 answers

NetworkManager fails with "Could not find source connection"

When trying to connect to a VPN using openvpn through NetworkManager, it fails with Apr 17 02:03:17 GAMINGSTATION NetworkManager[1922]: [1523923397.5294] audit: op="connection-activate" uuid="186c555a-dd51-4dc1-97c9-70d93c30713d"…
F43nd1r
  • 281
  • 1
  • 2
  • 6
15
votes
5 answers

Openswan connecting to multiple right subnets not working

I'm trying to use Openswan (version 2.6.37) to connect an IPsec VPN from my local network to a remote site. Everything works fine when I just want to connect to a single subnet on the remote site. However, the remote site also has an extra subnet…
FixMaker
  • 807
  • 3
  • 9
  • 17
14
votes
6 answers

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 SSTP.
spambas
  • 161
  • 1
  • 2
  • 5
14
votes
2 answers

How to automatically fetch new name server on VPN connect

I am running ubuntu xenial 16.04 We are using openvpn to connect to a virtual private cloud. That cloud has it's own DNS server (as does our local route - home or office). When I connect to the VPN all of the IPs in that network are available but I…
Christian Bongiorno
  • 307
  • 1
  • 3
  • 11
14
votes
1 answer

Understanding tun0 addresses

I have already done some searching and more or less understand what a tun0 interface does. I got the following from various sources, Packets sent by an operating system via a tun/tap device are delivered to a user-space program which attaches…
Masroor
  • 285
  • 2
  • 3
  • 12
13
votes
5 answers

How can I use openconnect in the background

I am going to connect to a VPN using openconnect on CEntOS 7 terminal. I only have one terminal because I am on a SSH session. I need to connect to the VPN using openconnect. I do so like this: openconnect -u username us.myprovider.net I need…
Mehdi Haghgoo
  • 543
  • 3
  • 8
  • 22
13
votes
2 answers

Route everything through VPN except SSH on Port 22

I have a server and I want to setup a VPN on it to route all traffic. Of course I don't want to block myself out when establishing the OpenVPN connection (already did that!) so I want port 22 to be unaffected and be reachable as usual. Is this…
b-m-f
  • 233
  • 1
  • 2
  • 6
1
2 3
60 61