Virtual Private Network

learn more… | top users | synonyms

3
votes
1answer
350 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
1answer
202 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 ...
3
votes
0answers
417 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
3answers
308 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 ...
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) ...
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
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 ...
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
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 ...
2
votes
1answer
220 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
154 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
2answers
870 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
775 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
43 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
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
1answer
380 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 ...
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 ...
2
votes
1answer
314 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
3answers
1k views

Change default DNS on openvpn connect

I am using Network Manager on Ubuntu 12.10 to connect to an openvpn server. The connection works without problems. However, when I connect, I would like to change my default DNS server to a server ...
2
votes
1answer
219 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
814 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
648 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
1k 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 ...
2
votes
1answer
189 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
1answer
61 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
159 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
16k 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 ...
2
votes
1answer
159 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 ...
2
votes
2answers
3k 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 ...
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 ...
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 ...
2
votes
0answers
52 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 ...
2
votes
0answers
410 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
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 ...
2
votes
0answers
313 views

Make docker containers accessible via vpn

I have three physical machine A, B, C, each of them has docker installed. I want to install openvpn server on machine A, and install openvpn client on B and C. B and C will connect to A. I want to ...
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 ...
2
votes
0answers
355 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 ...
2
votes
0answers
389 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 ...
2
votes
0answers
100 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 ...
2
votes
1answer
56 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 ...
2
votes
0answers
154 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) ...
2
votes
0answers
1k 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 ...