Virtual Private Network

learn more… | top users | synonyms

2
votes
1answer
787 views

How to respawn vpnc when it stops?

As root, I've setup a crontab rule that launches vpnc everyday early in the morning (before I arrive at my workplace). But it often occurs that the vpn stopped mid day. As a result, I have to sudo ...
1
vote
1answer
1k 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
0answers
730 views

IPsec Tunnel mode - RoadWarriors configuration

I've the need to configure IPsec tunnel mode between a gateway with static NAT (let's say its public IP is 172.31.0.105) and a number of clients that are behind dynamic NAT. Reading through some ...
0
votes
1answer
2k views

What is the security impact of not using tls-remote with OpenVPN

Is it a security issue not using the tls-remote option in OpenVPN? That is not verifying the server's common name. Is a MITM attack possible? Could this be an issue, especially with services like ...
1
vote
0answers
16 views

using ansible via vpn

I have a set of hosts that I can only access via openVPN (one VPN per host or group of hosts). ssh is only available after connected to the VPN. Is there any way to automatically bring up the VPN ...
3
votes
1answer
2k views

How do I configure OpenVPN as a Gateway client for Witopia?

I have the following setup: Witopia SSL account Synology 409 NAS (with OpenVPN and Apache etc) PS3 Mac Apple AirPort router (configured for NAT) Locked IPT-box (using DHCP and NAT traversing) ...
1
vote
2answers
3k views

Ensure torrent client uses openvpn

I recently signed up to a VPN provider and to log in, I use network manager for my normal wireless connection and then start the openvpn connection from network manager. In my browser I can check ...
0
votes
0answers
18 views

why is sTunnel failing to launch?

im a bit stuck and need help understanding what im being told as there is nothing in the log file, i get the following error when i try and run stunnel (servermode): sudo /etc/init.d/stunnel4 start ...
2
votes
2answers
678 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: ...
0
votes
1answer
30 views

Hamachi not working properly with PPPoE connections

I'm experiencing some troubles running Hamachi VPN alongside with a PPoE connection. On my linux_machine I have 3 different interfaces: eth0: the unconfigured ethernet interface used by ppp0 for ...
2
votes
1answer
1k 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 ...
4
votes
1answer
41 views

VPN server (beachhead) without root?

How can I set up a VPN server on a host where I don't have root? I have the following constraints: On the server A, I have no root. I can only operate in my home directory. In particular, I also ...
0
votes
0answers
17 views

How to start and stop a libreswan connection

I have a connection configured on my libreswan instance on two machines. The connection start automatically when I start the pluto daemon, I have try other settings, but the connection also starts if ...
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
413 views

How to get the VPN icon in Kali 2.0 (gnome) as root?

I have trouble getting the VPN status icon into the top bar for Kali 2.0 (gnome). Installation I recently installed latest kali 2.0 (in a VirtualBox from kali-linux-2.0-amd64.iso). I checked the ...
2
votes
1answer
44 views

DNS temporarily fails with VPN addresses

I'm connecting to a company network on Lubuntu 15.10 with vpnc either on terminal or via the network manager. Sometimes I can reach the intranet hosts fine, then suddenly they are gone. Then they come ...
2
votes
0answers
30 views

Raspberry pi wireless TOR access point. Open VPN doesn't connect. DNS problem

I have Raspberry pi (Raspbian) wireless TOR access point connected via ethernet cable to my local router. Everything works fine except one thing. When I want to use VPN, I'm unable to connect to my ...
1
vote
0answers
47 views

PPTP VPN client auto startup : need to restart network interface

The PPTP client works well. So the following lines were added in /etc/network/interfaces to enable the tunnel at system startup : auto tunnel iface tunnel inet ppp provider myTunnel according ...
1
vote
1answer
32 views

How can I check whether a given connection is going through my VPN?

I use openVPN to connect to a server at work. However, I only want to use the VPN for work-related stuff and not for my regular browsing. I don't really know much about VPNs, so it's entirely possible ...
0
votes
0answers
25 views

VPN on DD-WRT router works only once

I have set up a DD-WRT router behind my main modem as a VPN server. The firmware is DD-WRT v24-sp2 (08/07/10) mini. When I use my phone to connect to the VPN service on the router everything goes ...
2
votes
2answers
10k 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 ...
0
votes
1answer
119 views

OpenVPN with IPVanish on Linux Mint: Connects but no internet access

I'm trying to connect to an IPVanish server on Linux Mint. IPVanish does not provide software for Linux so it has to be done manually. I downloaded an ovpn file from IPVanish here. I then went to ...
2
votes
1answer
156 views

Proxpn and other VPNs in Iran

Back in the free world I purchased a lifetime-package of proXPN and tested it quite successfully under Linux. Now I'm in Iran and everything fails. We seem to use ITC as ISP - which is the ...
1
vote
1answer
830 views

VPN Setup Errors

I'm trying to install a VPN on one of our servers for use within my campus so that we can play some games, but I appear to be getting errors when I try to connect, as shown below. Not quite sure about ...
0
votes
2answers
487 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 ...
2
votes
3answers
16k views

OpenVPN - Socket bind failed on local address [AF_INET] IP:1194: Cannot assign requested address

How get it resolved? I am trying to start the openVPN server so that i can login remotely using username: demo and password: demo, but openVPN server is failing to start. What am i doing wrong, how ...
0
votes
0answers
12 views

socks to remote vpn clients on single server

I have the following setup: [user1] > ssh -D 1080 server > [server A a.a.a.a] openvpn --config vpn1.ovpn > [vpn server #1 x.x.x.x] [user2] > ssh -D 1081 server > [server A a.a.a.a] openvpn --config ...
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 ...
1
vote
0answers
120 views

Connect to Ubuntu Server through SSH over the internet

I have a ubuntu server that I access locally through ssh, but I need to configure it to be able to access it through ssh from the internet. I connected eth1 to the internet and configured the ...
0
votes
0answers
30 views

How can I improve this script to install pptpd & csf on a Centos 6.5 openvz box?

I'm working on a script to ease the deployment of pptpd and csf on openvz boxes. Here's what I've got so far: echo "Installing epel repository, wget, and bind-utils..." yum -y install epel* yum -y ...
1
vote
1answer
156 views

Is there any P2P VPN solution that does not require port opening(forwarding)?

The closest to a VPN P2P-based solution that I have found is PeerVPN: really easy to install, but it needs to open one port (7000 TCP by default) on one of the computers (also known as node) that runs ...
0
votes
0answers
222 views

Replacing AWS VPC Default VPN with OpenSwan (with HA)

Unfortunately AWS doesn't support IPSec Ikev2, DH group higher than 2 and AES256. So we are switching to OpenSwan. I was able to set up OpenSwan on a NAT instance on a VPC's public subnet with EIP and ...
1
vote
1answer
65 views

Forwarding traffic coming from SSH tunnel to VPN tunnel on a Linux device

I want to route network traffic that comes from one end of an ssh tunnel (constructed by ssh dynamic port-forwarding) into one end of a VPN tunnel. Given four Linux devices A, B, C and D, for ...
7
votes
1answer
891 views

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 ...
9
votes
4answers
2k 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 ...
2
votes
0answers
188 views

racoon IPSec/L2TP Client

I am trying to configure a racoon IPSec/L2TP client to connect a Windows 2003 server. The server is originally intended to be used with Windows XP clients (successfully tested with Windows XP SP3 but ...
-1
votes
2answers
82 views

Curl, ping hangs/waits when using private network ips

I have a whole bunch of servers working inside my office premises private network. When I try to run my tests outside office network, curl/ping/python/nodejs requests library, all of them wait ...
0
votes
1answer
61 views

Vpnc script bash

I use vpnc in terminal to setup a vpn connection, is there a way that i can make a script so when i execute the script it just starts. Instead of putting again al the gateway info etc.
1
vote
0answers
43 views

Port Forward WAN Traffic through VPN

I am new to VPN and Traffic rerouting. I already read this thread: Port forward to VPN Client? But I didn't get it working :/ That is why I am asking again. So here is my problem: I have a server ...
1
vote
2answers
265 views

Enabling graphics acceleration for OpenGL over remotely via VPN from Ubuntu client(my laptop)to Windows server(computation is here)

I have an access to Internet via a Wifi. Then, I have a VPN connection established from my Ubuntu laptop to a LAN network. My Windows Machine where computation happens using OpenGL is on the same ...
0
votes
1answer
356 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 ...
0
votes
0answers
38 views

How can I create a virtual network interface thru Private Internet Access VPN?

I have a PIA account and it works fine on my windows machines and my android devices. I have a VPS (Ubuntu 12.04 LTS) where I want to create a secondary interface thru PIA VPN service. I downloaded ...
1
vote
0answers
53 views

What are the possible methods to start a PPTP VPN connection on boot?

I use to connect to my remote PPTP VPN server by doing: # pon MyVPNConnection persist holdoff 60 maxfail 0 I would like to automate this connection to be executed on system boot, so I have added ...
2
votes
0answers
28 views

iptables not working on mobile broadband

I access the internet using a VPN. With the help of iptables rules all out-going traffic from my machine to the internet is dropped instantly when my VPN connection is abruptly terminated. The ...
3
votes
0answers
257 views

About tun2socks (BadVPN) SOCKS proxy

I am not very experienced with socks proxy. Recently I found the tun2socks. If you open the link, in the 1st paragraph it says : It implements a TUN virtual network interface which accepts all ...
2
votes
0answers
53 views

Use network-manager in different netns

In continuation of my last question about using netns as a relugar user, I'm now looking for a way to open VPN tunnels as a regular user. So I naturally thought about network-manager. Any user can ...
1
vote
0answers
161 views

OpenVPN load balancing

The question is in general about the best practices. VPN network has to manage about a thousand of simultaneous connections, so there is a problem in load balancing over several OpenVPN servers. ...
4
votes
1answer
887 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 ...
1
vote
2answers
93 views

Why ip_forwarding=1 fails with VPN?

My computer offer a Wifi AP, to share its eth Internet connection. It works painlessly. I decided to connect my computer to my VPN server (my eth <=> VPN distant server), in order my "WifiAP ...
0
votes
0answers
44 views

Openvpn does not work

My VPN service has given me a zip containing a .key file, a .ovpn file and a .crt file. I used the following command to import the ovpn settings root@test:~$ openvpn ~/path/foo.ovpn After ...