Virtual Private Network

learn more… | top users | synonyms

0
votes
1answer
172 views

SSH from different countries with openvpn configured on pfsense and dd-wrt?

I have vpn set up in two different countries A (primary, where I live) and B (secondary, which I visit once or twice a year) and would like to SSH to my devices across the vpn. My Setup: Country A:...
0
votes
1answer
95 views

OpenVPN client config :: why is needed ca.crt?

I configured a VPN (OpenVPN, mode: multiclients-1server), CentOS Server, multiple Rasp's clients. CA.crt is needed by each client, in addition of the client.crt & client.key . I wonder... why ? ...
1
vote
0answers
92 views

Issues with getting a tun0 connection to route any and all connections from eth0 to be made to this interface and if not working drop

So I've been having this issue for a while and the internet has been mixed for a response. Sadly most configurations for setting up a VPN seem to assume you are running both a vpn client and server ...
1
vote
0answers
785 views

How do I persistently set the MTU for a PPTP VPN connection in Ubuntu?

I have a M$-based VPN connection that I connect to every so often. After connecting to the VPN server, I need to run sudo ifconfig ppp0 mtu 1200, So that I can log on to the server, or else ssh client ...
1
vote
1answer
97 views

Using a VPN for certain applications via a network namespace

I am trying to use a network namespace for VPN-specific traffic, using this guide: https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/ on Debian. Everything works with ...
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 ...
1
vote
2answers
1k views

Kali Linux openVPN does not pass the DNS Leak test

I recently installed Kali Linux on VMWare. I was able to successfully install openVPN following these instructions, but it seems that it does not pass the DNS Leak test. Is there anything that can fix ...
1
vote
0answers
140 views

It is possible to make an IPSEC VPN Bonding?

I wanted to know if It is possible to bound two IPSEC tunnels ? I've already done a VPN bonding of SSH tunnels, but It will be better if I use IPSEC.
2
votes
0answers
502 views

Port forwarding with iptables and PIA VPN for single user

I've gotten a Private Internet Access VPN setup on a Mythbuntu 14.04 machine and I am at wits end trying to get port forwarding working with rTorrent (and ruTorrent). My setup is rTorrent running ...
1
vote
1answer
357 views

Openvpn stops responding

I've been trying to set up openvpn with a vps and raspberry pi. The raspi is natted while the vps is public. I've tried connecting to the openvpn from mint laptop as well, but it's no use: Server ...
1
vote
0answers
109 views

How to route vpn traffic over hostapd-raspberry pi

I have a raspberry pi running hostapd and I am able to connect my laptop as a wifi client to the raspberry bi wifi router. The problem is with the vpn traffic, I cant connect to my office vpn with ...
0
votes
1answer
347 views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software - the interface can be accessed in local network on (example) 192.168.0.2:8080 - But it has no public IP ...
0
votes
1answer
268 views

Connecting VPNC

I have installed VPNC and Network-Manager-VPNC in Ubuntu x64 and entered the configuration information like Group name, Username under VPN tab and DNS server, Search domains under IPv4 settings. I ...
0
votes
1answer
276 views

How do I tunnel traffic through a VPN and then through another machine

I recently started working from home using a laptop (A) that connects to a corporate network over a VPN. The VPN end point (B) on the corporate side then has two ports, 3389 for RDP and 22 for ssh, ...
2
votes
0answers
392 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 ...
0
votes
1answer
956 views

Automate Connection to VPN

I'm hoping to automate the startup of a VPN connection on startup of a CentOS 6.5 box. I have a Fortinet VPN client that I run on the command line as follows: [centhost]$./forticlientsslvpn_cli --...
0
votes
0answers
41 views

Linux as a router

I'm wondering whether this would be possible with linux and how ... I've got a normal DSL connection and 3 VPNs - I'd like a Linux computer to connect to all connections (maybe through a DSL Router or ...
1
vote
0answers
138 views

Which iptables rule causes vpn not to connect?

I can't connect to VPN until flushing iptables with iptables -F. pppd fails to connect with error message LCP: timeout sending Config-Requests. Which rule is causing this error? The result of ...
0
votes
2answers
434 views

Cannot access internet through OpenVPN

I have set up an openvpn server, generated a certificate and downloaded it to my client machine. After importing the client.ovpn file in the network manager, I can still ssh into the server itself, ...
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 ...
1
vote
1answer
210 views

Transparent proxying of TCP connections on port (mostly, without root access)

I have the Client machine living somewhere on the Internet, and it needs to access a custom port of Target machine (or, initially any port on any reachable machine, but, eventually, particular port, ...
1
vote
1answer
134 views

Config iptables ssh over VPN

How can I define a rule that only allows ssh via VPN in iptables? My iptable Rule is following: #!/bin/sh IPT="/sbin/iptables" $IPT --flush $IPT --delete-chain $IPT -P INPUT DROP $IPT -P FORWARD DROP ...
1
vote
1answer
2k 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
1answer
2k views

CentOS 7 - Cannot start OpenVPN Access Server

I have been trying to install the OpenVPN Access Server on my CentOS 7 VPS. However, I have been running into a number of problems. Initially, I had followed this DigitalOcean guide, but after I had ...
3
votes
1answer
535 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 ...
1
vote
1answer
1k views

firewalld settings for OpenVPN with https, ssh, and smtp

I am configuring a remote CentOS 7 webapp server to wrap https and ssh inside OpenVPN, while keeping smtp running outside of OpenVPN. I notice that, when I establish an OpenVPN connection from a ...
1
vote
0answers
20 views

Why my xl2tpd doesn't redial?

I have a router that runs debian and is used to connect to my ISP using L2TP (over a cable modem). xl2tpd is configured to redial if the connection fails (and pppd is configured to do a LCP ping all ...
3
votes
0answers
514 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 ...
1
vote
1answer
2k views

Initialization Sequence Completed, but terminal wont give a prompt

I just installed openvpn on a remote CentOS 7 server using the instructions in this tutorial. The only change I made to the tutorial was to use @GarethTheRed's instructions for configuring ...
0
votes
1answer
386 views

Disconnect vpn from Linux server

I have pptpd for PPTP and openswan for L2TP installed on a Ubuntu server, which work without any problem. When a client connects to the server, a new connection is created shown as pppx in the ...
1
vote
1answer
2k 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
421 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 ...
1
vote
0answers
92 views

Routing problem through 2 hop in the LAN

This is the scenario I'm facing with: firewall (Zyxel Zywall USG210) configured as default gateway, with LAN IP 172.29.0.1 /16 2nd firewall, directly connected with the 1st, with LAN IP 172.29.0.250 ...
1
vote
2answers
717 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 ...
1
vote
0answers
72 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
1
vote
0answers
73 views

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 ...
1
vote
0answers
55 views

How to use VPN with group security and hardware token?

I was trying to use VPN with group security and hardware token, but could not find anything about it for OpenVPN or VPNC. I have the setting under windows like: How can I do this? Is there any ...
0
votes
1answer
263 views

Please provide pptpd authentication methods other than chap secrets

I have setup VPN with pptpd service and authentication via CHAP secrets. What other methods are available with pptpd for authenticating users. Any scope of using public keys.
1
vote
1answer
486 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 ...
2
votes
0answers
121 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 ...
3
votes
1answer
450 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 ...
0
votes
1answer
635 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
2
votes
1answer
70 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 ...
4
votes
1answer
307 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 ...
0
votes
1answer
318 views

CentOS 7 VPN server

How do I set up a remote internet web server using CentOS 7 so that it is completely shielded by a VPN? Here is the use case: 1.) This means that ALL requests for ANY interaction with the web ...
3
votes
2answers
2k 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
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 ...
1
vote
0answers
374 views

Connect OpenVPN server on Ubuntu Guest VM

Setting up OpenVPN server on Ubuntu Server VM and trying to connect to it from HOST Windows 8 but had no luck. There is no connection. Whats wrong? Everything was did with this tut: http://lintut.com/...
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 ...
1
vote
0answers
403 views

Connect to DSL connection (PPPoE) via WiFi in Mint?

There is a private LAN in our office and every one using the internet must define a PPPoE-connection to connect to the internet. I created a DSL (PPPoE) connection in Linux Mint. When I connect to the ...