Questions tagged [vpn]

Virtual Private Network

Filter by
Sorted by
Tagged with
10
votes
2answers
25k views

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 ...
2
votes
1answer
6k views

Starting openvpn client as daemon - in debian

[Unit] Description=Simple Openvpn tunnel [Service] Type=simple ExecStart=/usr/sbin/openvpn --config /etc/vpn/config/myclient.ovpn --daemon [Install] WantedBy=multi-user.target I have this service, ...
21
votes
4answers
56k views

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 ...
4
votes
2answers
8k views

VPN SSL Network Extender in Firefox

I need to connect from a Debian Stretch amd64 VM to a CheckPoint corporate VPN. I am using it from the customer point of view, and do not know much technical details about the server side. I am ...
39
votes
4answers
75k views

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 ...
16
votes
4answers
7k views

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 ...
7
votes
1answer
2k views

Incoming/Outgoing seperation for VPN

My situation is that I want all my outgoing connections from my Debian server to pass through a commercial VPN service I've subscribed to, but I still want to run public-accessible services on this ...
7
votes
1answer
6k views

OpenVPN Client and Server on same machine - Server doesn't allow connections when client is connected

I am new to this community and am hopeful that somebody can help me. Please let me know if I haven't posted all required information. Situation: I have a linux server (raspberry pi, 192.168.1.2) ...
10
votes
2answers
71k views

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 ...
4
votes
1answer
3k views

Use nmcli to modify VPN password?

With nmcli, I can modify VPN data like this: nmcli con modify myvpn vpn.data 'refuse-pap = yes, user = xxx' So I'm wondering if I can set password this way as well?
6
votes
3answers
2k views

Redirect traffic through vpn on an as needed basis

My problem is really simple yet it sounds complex, but I have zero to none experience with this. I have set up a box using gentoo which has its own semi-static WAN-IP and acts as router for my LAN. I ...
2
votes
2answers
1k views

install cisco VPN client on linux

I am currently using Windows XP with Cisco VPN Client version 5.0.01.0600 I would like to replace Windows XP with Linux, either Red Hat version 5.x or 6.x My question is, what equivalent VPN ...
5
votes
2answers
9k views

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 ...
5
votes
2answers
3k views

VPN like solution for SSH Tunneling?

Socksify like program for Fedora? Socksify, tsocks, proxycommand in ssh, they're great softwares/solutions that can be used to "constrain" given apps to use a SOCKS5 proxy (what was created with an ...
1
vote
1answer
5k views

How to setup DNS manually on Linux?

In Linux /etc/resolv.conf get often overwritten when we setup the DNS, because of the multitude of programs managing the DNS servers. How to properly setup the DNS ?
6
votes
4answers
13k views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
6
votes
2answers
2k views

OpenVPN CLI for killswitch or connection fallback prevention

I'm using OpenVPN via command line to connect to my VPN on my current Linux distro since there is no GUI available (which had a killswitch checkbox). My problem is, I can't find any way to add a ...
6
votes
1answer
16k views

Installing vpnc on CentOS

I'm currently attempting to establish a vpn connection, but I am unable to install a vpn client. I assumed installation would be as simple as sudo yum install vpnc, but CentOS is unable to find the ...
5
votes
1answer
2k views

Debian CLI torrent program through VPN

Has anyone successfully set up a CLI-only (no web UI's!) torrent client that can tunnel all of its traffic through a VPN? (Either by sending all traffic through a particular interface or a SOCKS proxy)...
4
votes
2answers
13k views

IPSec over L2TP: received NO_PROPOSAL_CHOSEN error notify

Environment: # uname -a Linux shrimpwagon 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22) x86_64 GNU/Linux I have already installed: # apt-get install strongswan xl2tpd I'm trying to ...
11
votes
2answers
11k views

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 ...
5
votes
1answer
4k views

Linux Checkpoint SNX tool configuration issues

I tried a solution mentioned in the question: getting Checkpoint VPN SSL Network Extender working in command line (the accepted answer), but for some reason I'm getting an authentication failed error. ...
3
votes
4answers
3k views

Connect to the Internet on a VPN connected server without Internet

I've a remote server which is not connected to the internet, but I can connect from via SSH to it through a VPN tunnel. On this client I got internet. Is it possible 'get internet' from the client ...
3
votes
2answers
493 views

Is data decrypted and re-encrypted by the OpenVPN server when sent between clients?

We just created a cluster of 12 nodes and wanted to have OpenVPN for many of the communications need to be 100% secure between each computer (we do not have access to a 100% secure/private environment ...
3
votes
2answers
254 views

Information/Assistance required on reverse SSH Tunneling (Naming Conventions etc)

I have multiple raspberry pi's running Arch Linux (No GUI) in which I need to access. These pi's are behind firewalls in each unique location. Currently I use openvpn to connect to these but the costs ...
2
votes
3answers
665 views

Establish a connection with OpenVPN on Raspbian

I am trying to establish a VPN connection on a Raspberry Pi 3 with Raspbian. But I cannot make this work. I am using VPNBook and I downloaded the .ovpn file in order to use OpenVPN. Here is the ...
2
votes
1answer
10k views

Strongswan forwarding traffic between two IPsec tunnels

Given a remote (centralized) VPN server with a StrongSwan IKEv2 setup with external static IP: centralized server internal IP 192.168.1.65, network 192.168.1.64/27 And two gateways doing NAT for ...
2
votes
2answers
22k views

Is it possible to run two VPN clients at the same time?

I would like to run two VPN clients at the same time: one Cisco client and one VPNC client. For now I have my VPNC client configured to route only some known IPs to the VNC interface and would like to ...
4
votes
2answers
2k views

Installing OpenVPN to replace Cisco VPN because Cisco will not work with the kernel I am on or downgrade instead?

I had difficulties installing Cisco5.0 VPN on my Ubuntu 10.04 LTS. I asked for assistance in this question: link to previous question. The answer is that this Cisco program will run on only older ...
2
votes
1answer
7k views

Trouble connecting to VPN using network-manager, while command line works

If I try to connect to my VPN using Network Manager, it fails, and /var/log/syslog reads: Dec 4 17:43:25 zepto nm-openvpn[1696]: OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [...
2
votes
1answer
3k views

Question about why DNS resolv.conf stopped working

I have a question about why my DNS settings got messed up. I've fixed the issue (I think), but I'm curious as to why it happened. My Linux Mint 18.3 laptop had been working flawlessly. I recently ...
1
vote
2answers
2k views

Kernel module for Cisco VPN client doesn't compile under ubuntu 10.04 LTS?

I am trying to install a Cisco VPN client under Ubuntu 10.04 LTS. In the extracted folder I type: alex@alex-laptop:~/Downloads/cisco4.8/vpnclient$ sudo ./vpn_install and there is output of activity ...
1
vote
0answers
501 views

Unable to surf internet with VPN on OpenBSD

I am using OpenBSD 5.7-amd64 with the latest patches applied. I downloaded and installed OpenVPN (package version: openvpn-2.3.6.tgz) available for OpenBSD 5.7 using the following command: sudo ...
1
vote
2answers
1k views

Cannot create OpenSSH tunnel

I am trying to setup a vpn via openssh. I am running the client on Arch Linux. The version of the client is OpenSSH_7.7p1, OpenSSL 1.1.0h 27 Mar 2018. The ssh server is on Ubuntu 17.10 on Google ...
1
vote
1answer
1k views

OpenVPN Server does not reply to Client ping

An OpenVPN client seems to initialize on a CentOS 7 client virtual machine. However, the response from the server is not clear when the client sends a ping. Specifically, ping 10.8.0.0 from the ...
1
vote
1answer
892 views

Debian 9: Is there any GUI to add OpenConnect VPN-connection in ConnMan?

On a lightweight Debian machine I am using ConnMan instead of NetworkManager. For this I installed ConnMan based on the following packages: connman connman-vpn cmst Ethernet, wifi, virtual bridges ...
1
vote
3answers
1k views

Using Checkpoint VPN SSL Network Extender CLI with certificate

I'm trying to use the command line tool from Checkpoint to set up an SSL Network Extender VPN using a certificate (P12) rather than a password. I tried the solution mentioned in getting Checkpoint ...
0
votes
1answer
26 views

Limit a VPN server's services to VPN connections only

I have a jump server and I want to put it behind a VPN, I do not want to deploy a separate VPN server and put my jump server behind it. I thought of installing OpenVPN directly onto my jump server and ...
0
votes
1answer
714 views

SNX: Connection aborted

My ultimate goal is to download files from an FTP server, which is behind a CheckPoint VPN in a server running ubuntu 16.04, which I only have access through ssh. I followed the steps described in ...
0
votes
1answer
225 views

Namservers reverted to normal shortly after connecting VPN using Openconnect

I've been working at my company for over a year, and have never had this particular issue with my VPN. Unfortunately, I don't know much about networking so I'm a little confused at what's happening. ...
0
votes
1answer
4k views

Automate Connection to VPN on startup

I'm hoping to automate the startup of a VPN connection on startup of a CentOS 6.5 box. I have a Fortinet VPN client that I run on the command line as follows: [centhost]$./forticlientsslvpn_cli --...