Virtual Private Network

learn more… | top users | synonyms

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

Openswan connecting to multiple right subnets not working

I'm trying to use Openswan (version 2.6.37) to connect an IPsec VPN from my local network to a remote site. Everything works fine when I just want to connect to a single subnet on the remote site. ...
7
votes
3answers
606 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 ...
6
votes
1answer
628 views

Load Balancer Solution with linux

I need a suggestion to realize a proper solution to this problem: As you can see in the image above, I have 2 application servers that need to talk with and external third party provider over the ...
6
votes
2answers
684 views

Linux -> linux remote X login/desktop

What are the (best) solutions for remote desktop in linux? Ideally I'd like to be able to be able to log in to a remote X (KDE) session without even logging into my local machine. Maybe if I could ...
6
votes
3answers
343 views

How can I tunnel traffic for a NATted host to another server?

I have a device on my private network which I don't wish to allow to directly access the internet from my gateway. Instead, I want to tunnel that traffic from my gateway to another server (also mine) ...
6
votes
1answer
526 views

Route VPN traffic through socks proxy [closed]

There is no way to set proxy on an unrooted Android, but there is an option to connect to VPN. In my network VPN connection is not allowed! so I am looking for a way to run a local VPN server on my ...
5
votes
4answers
10k views

How to set up an SSTP Server

Is there a way to set up a linux based, preferably ubuntu, SSTP server? I know there is a SSTP client available on sourceforge, but I can't find a server. To be clear: I do NOT want openVPN, I want ...
5
votes
2answers
2k 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 ...
5
votes
2answers
2k views

What is resolv.conf and why VPN client's hack it?

As stated in a previous question I want to connect to 2 VPN servers at the same time and for each connection specify the IPs of computers I want to reach with it. One of this VPN connection is done ...
5
votes
3answers
3k views

How to access a machine behind a restricted NAT gateway I don't manage?

I have a linux machine that I'd like to be able to access remotely for SSH, FTP, HTTP, and so forth. I signed up for Dynamic DNS with No-IP.com, but this isn't adequate because I am on a college ...
5
votes
2answers
2k views

VPN with network manager (nm-applet) is not working

My university (TU Wien) offers a VPN in order to get an IP of the university network. The instruction on the university webpage says to install the packages network-manager-gnome, network-manager-vpnc ...
5
votes
1answer
510 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
5
votes
1answer
1k views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
4
votes
3answers
1k views

ssh will sporadically hang temporarily on fast connection

I am using Ubuntu 13.04 on my laptop, connected to my router at home. When working from home, I will ssh into the servers on campus, through a vpn, with X11 forwarding. ssh -X ...
4
votes
2answers
9k 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
696 views

Can't SSH via password to a Remote Server

I've successfully VPNed to my University server on a Fedora 17 Linux terminal. $ sudo openconnect -u UNIVERSITY_USERNAMEID sslvpn.nameofuniversity.edu [sudo] password for PCUSERNAME: Attempting to ...
4
votes
1answer
5k views

Is route add … the best way of directing traffic through a vpn

I have set up a VPN on a remote ubuntu machine using pptp-linux and the instructions found here. After set up no traffic seemed to be going through the VPN and the VPN network devices were not ...
4
votes
1answer
162 views

Undocumented pppd exit code

If my machine (OSX 10.9.2) is not connected to the Internet and I want to establish pptp connection by using pppd: $ sudo /usr/sbin/pppd serviceid 5BE14D3A-7B94-4704-ADE0-9883B189199E debug logfile ...
4
votes
1answer
384 views

List all DNS Servers, including those pushed by VPN

I want to know which DNS servers are in effect when I run commands like nslookup, dig, host, ping, etc. The general answer is to cat /etc/resolv.conf, or to look at NetworkManager, but that's only ...
4
votes
3answers
1k 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 ...
4
votes
1answer
412 views

How to set up ssh server with VPN tunnel? (Policy routing for sshd service)

It's difficult to me to explain in words, so I made diagrams. In short, I want this to work: Basically I want to be able to connect from my laptop [A] to my desktop [B] via ssh, and run terminal ...
4
votes
2answers
193 views

Is it possible to set-up a VPN in such a way that I disconnect from the Internet if it goes down?

How can I set-up a VPN so I loose connection to the Internet if it goes down? I use Ubuntu and have used the network-dialog to use a VPN; but if the VPN goes down, it just switches to the non-VPN ...
4
votes
2answers
1k 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 ...
4
votes
1answer
839 views

Force VPN using IPtables?

I want to force the use of VPN using iptables, therefore while VPN is disabled no outgoing traffic shall be allowed (except maybe some DHCP stuff...). Now i guess I could just block everything not ...
4
votes
1answer
121 views

IPsec doesn't read configuration when the tunnel is deleted

I've created a tunnel between two sites using IPsec. I've made an error in the configuration, the address of the destination was false, so I deleted this tunnel. But after deleting, ipsec tries to ...
4
votes
1answer
611 views

How to open VPN connection inside other VPN connection under Linux/Ubuntu

Is it possible to have two VPN connections on top of each other under Ubuntu? Scenario: My organization is quite large and has its own large network. Each group inside the organization has its own ...
4
votes
1answer
1k views

How to fix this eth0 and eth1, where traffic going out via eth0 is failing?

I have two public IPs. One's connected to eth0 and one to eth1, from 2 separate routers as complete DMZ towards the LAN IP. I added this following: ip rule add from 10.0.0.108/32 table 1 # outbound ...
4
votes
1answer
413 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 ...
4
votes
2answers
267 views

Starting SSH server after VPN starts

I am running an OpenVPN server on Ubuntu 14.04 as well as OpenSSH. I have my SSH server configured to bind to an IP address on my VPN interface. Once my machine boots, binding to that IP fails. ...
3
votes
4answers
343 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
3answers
2k views

VPN on Fedora Linux?

I'm looking to install and setup a VPN on my Linux installation which is Fedora 14. At the moment the only one I know of is OpenVPN but I'm wondering if this the best option for Fedora or if Fedora ...
3
votes
1answer
451 views

Configuring SSTP client on Debian

I would need to connect my Debian (stable) server to a Windows Server 2008R2 server, which is acting as a SSTP VPN server. I have managed to install sstp-client on my Debian server, but I do not know ...
3
votes
1answer
2k views

Set up firwall with iptables to only allow VPN

Im using IPredator VPN with openVPN and I want to make sure that if the connection is dropped, i wont submit data from the internet without the VPN. I heard that I could do that with iptables and a ...
3
votes
2answers
692 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
1k 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
462 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
41 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
197 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 ...
3
votes
3answers
214 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
0answers
362 views

Connect to a VPN from a Linux Virtual Machine

I am running an Ubuntu distro inside a VMWare virtual machine with a bridged connection on a Windows 7 host. What I am trying to do is to have the virtual machine connect to a VPN, but I'm not having ...
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
1answer
5k 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 ...
2
votes
1answer
397 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
38 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
3k views

Add VPN button is disabled in Debian Wheezy/LXDE

I want to configure a VPN connection, so choose VPN Connections->Configure VPN..., and I get to the Network Connections dialog. But the Add button is disabled. How do I enable it?
2
votes
1answer
604 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
249 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
2answers
984 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 ...