Virtual Private Network

learn more… | top users | synonyms

9
votes
2answers
13k 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 ...
8
votes
2answers
4k 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. ...
6
votes
1answer
568 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
660 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
308 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
3answers
102 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
470 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
8k 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
2k 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
380 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
959 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
876 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
638 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
113 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
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
279 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
160 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
812 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
80 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
371 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
843 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 ...
3
votes
4answers
219 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
2answers
7k 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 ...
3
votes
1answer
4k 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 ...
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
61 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
254 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 ...
3
votes
2answers
655 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
316 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 ...
3
votes
1answer
815 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
409 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
1k 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
2answers
57 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
0answers
320 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
4k 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
37 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
629 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
1k 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 ...
2
votes
1answer
457 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
215 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
181 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
2answers
2k 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 ...
2
votes
1answer
577 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
392 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 ...