Virtual Private Network

learn more… | top users | synonyms

3
votes
2answers
6k views

command OR script to detect vpn connection status

I'm using Ubuntu Network Manager VPN client to connect to a PPTP vpn server. I have an application that get some data from internet and must be runned from behind the VPN. I need to suspend ...
3
votes
2answers
865 views

Need help with routing

I have set up a Ubuntu server, that I want to use as a router for my local office. The problem is, that I want to make 2 VPN connections, to remote branches, and then I want to route all traffic to ...
3
votes
1answer
2k views

Please help me to understand these 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 ...
3
votes
1answer
541 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 ...
3
votes
1answer
2k views

Route VPN Through Proxy

I'm on a network which requires out-going traffic to pass through an http proxy. I would like to connect to my remote VPN through the proxy, but am not sure how to do this. Any thoughts? I am ...
3
votes
1answer
679 views

What's the best way to install a system-wide certificate from a website?

I want to use the Cisco Easy VPN to connect to the OpSource cloud machines. When I open the app, it directly shows a certificate error message, I suspect that the certificate is not trusted from their ...
3
votes
1answer
2k views

What is the best touch screen kiosk solution?

I'm a web developer and I'm looking for the best stripped-down linux experience that provides a full-screen experience for touch screens. I'll be looking for: a robust experience that stops people ...
3
votes
0answers
21 views

Restrict DD-WRT to VPN access

I have got a few computers which I don't want to get online without VPN. They're on their own 192.168.1.0/24 subnet. How can I limit the internet access to only be able to connect to my VPN host? The ...
3
votes
0answers
810 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 ...
3
votes
0answers
112 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 ...
3
votes
0answers
521 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 ...
3
votes
1answer
451 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 ...
3
votes
0answers
516 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 ...
3
votes
0answers
8k 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 ...
3
votes
3answers
333 views

Change routes for VPN

I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network. How does a script look like, that ...
2
votes
3answers
2k views

forwarding web traffic through a vps running on Ubuntu in another country

I've got a vps in another country. And I'd like to forward all my web traffic through it. I know there are commercial options available in the market but I'd like to do it by myself for the sake of ...
2
votes
2answers
4k views

How to access a private network behind a router? Can't port forward [duplicate]

I have a video surveillance system (a bunch of ip cameras, with private IPs) behind a router in a distant location. The only ISP that's available at that location has provided me with a 3G/4G USB ...
2
votes
1answer
269 views

Interface Priority in the Face of VPN

I have a few interfaces: wlan0, eth0, lo, and sometimes tun0. When I connect to the Juniper VPN, creating a tun0 interface, my existing connections on other interfaces (perhaps with the exception of ...
2
votes
1answer
427 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 ...
2
votes
1answer
951 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 ...
2
votes
1answer
44 views

Viewing hostnames in network

Is there Linux command equal to Net View in Windows, that shows hostnames in your network? I am in a VPN network and want to see computer names in my network.
2
votes
2answers
195 views

Traffic of specific program through vpn [duplicate]

is it possible to only let the traffic of Deluge through a VPN (OpenVPN) and the other traffic not with iptables? Kind regards
2
votes
1answer
65 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
1answer
477 views

Masquerade not working sometimes

I have an issue with private network traffic not being masqueraded in very specific circumstances. The network is a group of VMware guests using the 10.1.0.0/18 network. The problematic host is 10.1....
2
votes
1answer
1k views

Route only ssh traffic through VPN

Is it possible to route a computer's SSH service through a VPN connection but allow ALL other data to exit through the WAN address? What sort of iptables magic needs to be done to accomplish this? ...
2
votes
1answer
1k views

VPN, one server, multiple clients

I wanted to know if it was possible to have a server running OpenVPN with server key and have multiple clients connect to it? I would like the server to be 10.9.8.1, the first client to be 10.9.8.2 (...
2
votes
1answer
4k views

Iptables forward with pptp and openvpn

I have OpenVPN and PPTP installed on a VPS. I'm having a few questions that I can't seem to get a firm answer on. I want to install OpenVPN on 1.1.1.1 (eth0, public IP address) and PPTP on 1.1.1.2 (...
2
votes
1answer
6k views

Only routing certain traffic through VPN

I have a central development server, running a VPN server, and a couple clients that need to connect to it. The server is running Apache, but is only accepting local requests (only listening on 127.0....
2
votes
1answer
336 views

PPTP server with NIC aliases

I have set up a VPN on a VPS Server using PPTP. I have one NIC with two aliases. eth0 eth0:1 eth0:2 The 3 interfaces have public addresses. eth0 is a French IP, eth0:1 is UK, and eth0:2 is ...
2
votes
1answer
230 views

How do I ensure outbound TCP/IP traffic always uses a VPN, even when using Wifi?

I'd like to ensure that my VPN is started and running, before any TCP traffic from any of my background services send or receive data. How can I guarantee that this is the case? How do I handle ...
2
votes
1answer
896 views

Multiple VPN connetions, routing based on country

I want to set up a couple of VPN connections to two different countries, A and B, on my Ubuntu Server. Then I would like to set up rules based on GeoIP to determine which VPN connection should be used ...
2
votes
3answers
707 views

VPN and gateway problems

I've got a corporate VPN, which I use to access the Internet. When it's on, I cannot reach the servers inside the corporate network anymore, so I think there are some problems with the gateway setup. ...
2
votes
1answer
3k views

How to connect to OpenVPN with NetworkManager

I have installed an OpenVPN server on my OpenWrt 10.03 router [freshly flashed]: https://pastebin.com/raw.php?i=hRECWuf1 echo "nameserver 8.8.8.8" > /etc/resolv.conf; opkg update; opkg install ...
2
votes
1answer
14 views

Connect as client to Ipsec with OpenSuse Linux

A former co-worker established a set of AWS instances. One of these is an IPSec VSetup a IPSec/L2TP VPN server. I can SSH into this ec2 instance, and on this machine. I do have a username and ...
2
votes
2answers
62 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 ...
2
votes
1answer
221 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 ...
2
votes
2answers
78 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 ...
2
votes
2answers
203 views

Is it possible to “partially” connect to a VPN

My university offers a remote access VPN to access paywalled journals, which I often want to use. However they require using the Cisco AnyConnect protocol. This is a bit annoying because it ...
2
votes
1answer
19k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 freetype....
2
votes
1answer
181 views

How can I be notified about state changes to a VPN adapter

On Ubuntu 12.04 - actually Kubuntu, but I am using NetworkManager, so the configuration should be the same - I have configured a few VPN connections. Now, if I have a long-running up- or download, ...
2
votes
1answer
1k views

Cannot load tun module

I cannot manage to load the tun module in my archlinux box. I'm trying to connect with openvpn, but the log says nm-openvpn[6662]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=...
2
votes
2answers
4k 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 ...
2
votes
1answer
2k views

PPTP ping client to client error

I installed pptp server on a centos 6 64bit server PPTP Server ip : 55.66.77.10 PPTP Local ip : 10.0.0.1 Client1 IP : 10.0.0.60 centos 5 64bit Client2 IP : 10.0.0.61 centos5 64bit PPTP Server ...
2
votes
1answer
2k views

Routing in OpenVPN between a private network and a client

I'm trying to setup OpenVPN between a private network and home clients that connect to it. (The clients don't need to connect to each other). The network topology is a little interesting. There is a ...
2
votes
1answer
2k views

L2TP IPsec VPN client configuration

I have Linux (Fedora) box and I want to conject to VPN described as "L2TP IPsec VPN" one. I have got following credentials: user=xxxxxxxxx pass=xxxxxxxxx VPN server= XXX.XXX.XXX.XXX IPsec key=...
2
votes
0answers
37 views

VPN server into systemd-nspawn machine

I am trying to deploy a VPN server (I choose Openswan flavor) into a systemd-nspawn container on a raspberry pi running Arch Linux. For now I can login into the container, ping, goes outside from ...
2
votes
1answer
104 views

<SOLVED> VPN clients not reaching Internet

Recently, during VPN server configuration the one thing that I've faced is - I don't have internet access connecting through my VPN server. Actually I use the VPS(Debian 8 ), where I've installed a ...
2
votes
0answers
107 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 ...
2
votes
0answers
51 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 ...
2
votes
0answers
46 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 ...