Virtual Private Network

learn more… | top users | synonyms

1
vote
1answer
180 views

Transparent proxying of TCP connections on port (mostly, without root access)

I have the Client machine living somewhere on the Internet, and it needs to access a custom port of Target machine (or, initially any port on any reachable machine, but, eventually, particular port, ...
1
vote
1answer
117 views

Config iptables ssh over VPN

How can I define a rule that only allows ssh via VPN in iptables? My iptable Rule is following: #!/bin/sh IPT="/sbin/iptables" $IPT --flush $IPT --delete-chain $IPT -P INPUT DROP $IPT -P FORWARD DROP ...
1
vote
1answer
2k views

iptables allow only ssh and vpn traffic

I have dedicated server with ubuntu 14.10 installed. The server should connect to an openvpn server and the traffic should only go through the vpn, except for SSH traffic. My idea is to realize it ...
1
vote
1answer
2k views

CentOS 7 - Cannot start OpenVPN Access Server

I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems. Initially, I had followed this DigitalOcean guide, but after I had ...
3
votes
1answer
490 views

Routing ALL traffic through VPS

I recently acquired a Raspberry Pi and I'm setting it up for various things. I have a local router that the Pi is wired into along with my desktop computer. I want to be able to access the Pi from ...
1
vote
1answer
1k views

firewalld settings for OpenVPN with https, ssh, and smtp

I am configuring a remote CentOS 7 webapp server to wrap https and ssh inside OpenVPN, while keeping smtp running outside of OpenVPN. I notice that, when I establish an OpenVPN connection from a ...
1
vote
0answers
19 views

Why my xl2tpd doesn't redial?

I have a router that runs debian and is used to connect to my ISP using L2TP (over a cable modem). xl2tpd is configured to redial if the connection fails (and pppd is configured to do a LCP ping all ...
2
votes
0answers
420 views

Routing traffic for specific user to specific interface

I have a Linux box with these interfaces: eth0 Link encap:Ethernet HWaddr 14:da:e9:ef:75:7d inet addr:176.9.85.182 Bcast:176.9.85.191 Mask:255.255.255.224 tun0 Link encap:UNSPEC ...
1
vote
1answer
1k views

Initialization Sequence Completed, but terminal wont give a prompt

I just installed openvpn on a remote CentOS 7 server using the instructions in this tutorial. The only change I made to the tutorial was to use @GarethTheRed's instructions for configuring ...
0
votes
1answer
336 views

Disconnect vpn from Linux server

I have pptpd for PPTP and openswan for L2TP installed on a Ubuntu server, which work without any problem. When a client connects to the server, a new connection is created shown as pppx in the ...
1
vote
1answer
1k views

Can you set OpenVPN to auto-connect to 'fallback' .ovpns in case the current one fails?

I'm in Debian 7.8 Wheezy, and have installed openvpn from the stable repository. I'd like to set up a system for another user (who does not have high computer literacy) where, if the primary server ...
2
votes
0answers
406 views

vpn l2tp connection on ubuntu 14.10

I am using Ubuntu 14.10 and I need to create a VPN L2TP connection. I installed strongswan, as suggested by this answer, but now I don't understand how to configure the connection. The connection ...
1
vote
0answers
88 views

Routing problem through 2 hop in the LAN

This is the scenario I'm facing with: firewall (Zyxel Zywall USG210) configured as default gateway, with LAN IP 172.29.0.1 /16 2nd firewall, directly connected with the 1st, with LAN IP 172.29.0.250 ...
1
vote
2answers
598 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 dont want to block myself out when establishing the OpenVPN connection (already did that..) so I want the Port 22 to ...
1
vote
0answers
68 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
1
vote
0answers
70 views

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 ...
1
vote
0answers
53 views

How to use VPN with group security and hardware token?

I was trying to use VPN with group security and hardware token, but could not find anything about it for OpenVPN or VPNC. I have the setting under windows like: How can I do this? Is there any ...
0
votes
1answer
225 views

Please provide pptpd authentication methods other than chap secrets

I have setup VPN with pptpd service and authentication via CHAP secrets. What other methods are available with pptpd for authenticating users. Any scope of using public keys.
0
votes
1answer
421 views

Network Manager losing saved vpn passwords in Mint 17

my vpn is setup in the network manager, and the passwords are saved in there. however, those passwords are disappearing, they will be there for several days, and then be gone. what could be causing ...
2
votes
0answers
113 views

Binding to a VPN interface not working

so I've been working on setting up a Raspberry Pi running Raspbian lately, and I have almost everything set up the way I want. I plan on using it headless, but I've been using X11 forwarding to view ...
3
votes
1answer
413 views

resolvconf writing invalid resolv.conf file

Every time I connect to my VPN I lose DNS with an error of, "cannot parse /etc/resolv.conf" The offending line is line 1 being an empty "domain". So after connecting to the VPN my resolv.conf file ...
0
votes
1answer
567 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
2
votes
1answer
64 views

Make a request through vpn interface

I want to be able to make request through a specific network interface, like this: ping -I eth0.1 google.be ping -I eth0.2 google.be This example works on my multihomed OpenWRT router. I now want ...
3
votes
1answer
252 views

Route VPN traffic through different proxies

I want to setup VPN server and route (based on my routing algorithm) all traffic through different proxy servers. Let's say I have one host, with many users, connected to my VPN. I want to route all ...
0
votes
1answer
282 views

CentOS 7 VPN server

How do I set up a remote internet web server using CentOS 7 so that it is completely shielded by a VPN? Here is the use case: 1.) This means that ALL requests for ANY interaction with the web ...
3
votes
2answers
1k 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 ...
2
votes
1answer
204 views

restricting remote vpn login to ip address in CentOS 7

I have read that OpenSSH itself does not support authentication via specific IP address. In a CentOS 7 installation on a web server, how would one configure the login so that a user would not only ...
1
vote
0answers
352 views

Connect OpenVPN server on Ubuntu Guest VM

Setting up OpenVPN server on Ubuntu Server VM and trying to connect to it from HOST Windows 8 but had no luck. There is no connection. Whats wrong? Everything was did with this tut: ...
2
votes
2answers
70 views

How do I add more IP addresses to my pf rules?

I wish to have all internet traffic to go through my VPN; when my VPN is disconnected, all internet traffic can not go out of my workstation/desktop (not server). I wish to switch VPN servers of one ...
1
vote
0answers
361 views

Connect to DSL connection (PPPoE) via WiFi in Mint?

There is a private LAN in our office and every one using the internet must define a PPPoE-connection to connect to the internet. I created a DSL (PPPoE) connection in Linux Mint. When I connect to the ...
1
vote
0answers
283 views

openconnect - I can ping a website but can't wget or access by browser

I need to access the VPN of my university. On their website they provide the following solution: install openconnect install vpnc login to vpn via: # openconnect --script /etc/vpnc/vpnc-script ...
0
votes
1answer
443 views

Route Client Traffic Through VPN Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
2
votes
0answers
165 views

How to set the remote host to a domain name with dynamic IP in *swan client?

I am now setting a vpn client for my university's own L2TP/IPSec VPN network, using both openswan, libreswan and strongswan (for different distros). Here is the problem: The remote site (VPN server) ...
1
vote
0answers
40 views

how to binding each each interface to a seperate VPN config

What I am trying to do is route all traffic that comes on a given interface to a specific, per interface, VPN connection where all outbound traffic is actually leaving on WAN0. I frankly don't have a ...
1
vote
0answers
183 views

SSH broken when connected to VPN upon upgrading from Ubuntu 13.04 to 14.04

I need to SSH into a server which is only accessible when I am connected to a VPN (PPTP). Using my Ubuntu 13.03 virtual machine, this works perfectly. First I connect to the VPN, then I ssh into the ...
0
votes
3answers
150 views

Setting Up VPN Practice/Service Without Access to Private Internet

I use Lubuntu 14.04. I've gotten concerned about encrypting my internet traffic after reading about the problems with public WiFi and intend to start using VPN. However, all my internet usage is on ...
1
vote
0answers
291 views

Connect to IPsec VPN using OpenSwan

I'm connected to Internet with a simple ADSL router with NAT. I have a smartphone and a laptop running linux. I need to connect to a IPsec server using OpenSwan. First I tested that it is possible to ...
3
votes
0answers
455 views

How to setup a l2tp VPN using strongSwan

I have found several guides to set up a l2tp VPN using openSwan, but I'd like to use strongSwan because I'm setting up a ikev2 VPN aswell, and I can't do it with openSwan. Do you know if there's a way ...
1
vote
0answers
106 views

How can I set up two different types on VPN servers on the same machine?

I have configured an IKEv2 VPN server on my debian machine to have a VPN for my BlackBerry (which supports IKEv2 only as a "consumer grade" VPN). I would like to connect my Windows 7 PC to this VPN ...
2
votes
0answers
2k views

Using OpenConnect for a VPN, Linux Mint 17

I'm trying to setup a VPN connection. My corporate IT team went and hid under a table when I said Linux so you guys are my last hope. I'm trying to port all my the settings from my Windows 7 machine ...
0
votes
0answers
471 views

Connection failed to any VPN!

PPTP VPN and OpenVPN don't connect and both return error about VPN Secret in my CentOS 6.4 x64 machine! I've already tested the configurations in Windows and Ubuntu with no problem. I also noticed ...
0
votes
2answers
288 views

Accessing Linux server via VPN or Certificate based ssh?

My company has a fairly common security setup where you need to log in via VPN, when outside the company network in order to get access to the servers. The biome is mostly Windows machines. I'm ...
2
votes
2answers
4k views

Pluto not finding interface on a ipsec VPN

I'm trying to setup ipsec however pluto appears not to bind to a public IP and IPsec Kernel requires updating. This is what I've come up with so far: -IPSec Verify states my kernel is not supporting ...
2
votes
2answers
783 views

Restart specific racoon tunnel

I have several gif* interfaces on my FreeBSD box. They are representing tunnels, encrypted using racoon+ipsec. If, at some moment, one of the tunnels hangs up, I am forced to reset racoon this way: ...
1
vote
2answers
476 views

Can neither PING LAN nor when it is connected to OpenVPN

I try to configure OpenVPN on my raspberry-pi (minimal raspbian-wheezy distro). I run OpenVPN behind a Router and want to connect from a Windows client. I can connect to the server but I want to ...
2
votes
1answer
3k views

Private VPN compression for faster internet

Background: I'm a student, and currently the WiFi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month. I have ...
0
votes
1answer
2k views

iptables redirect traffic from VPN interface to next interface

Can you help me with this problem please? I need redirect all traffic from tun0 interface (OpenVPN tunnel) to eth1 interface. eth1 is internal network behind this system which works as special ...
2
votes
2answers
62 views

VPN tunneling through another VPN

in windows you can simply create two pptp connections and after connecting to one of them, easily connect to the other one while maintaining the first. Is there any way to do this (cli or gui) in ...
0
votes
1answer
760 views

PPTP VPN client connectivity not working

I am trying to connect to my VPN from my tonidoplug. I followed the steps found in PPTP Client. But I am getting the below error now: $ sudo pon codeme debug dump logfd 2 nodetach Couldn't open the ...
2
votes
0answers
7k views

Redhat / Centos 7 Firewalld best practice for pptp or L2TP/IPsec rules

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...