Virtual Private Network

learn more… | top users | synonyms

0
votes
0answers
48 views

Openvpn does not work

My VPN service has given me a zip containing a .key file, a .ovpn file and a .crt file. I used the following command to import the ovpn settings root@test:~$ openvpn ~/path/foo.ovpn After ...
0
votes
1answer
35 views

iptables rules' weird behavior

I have a set of iptables rules (see below) whose purpose is to disallow traffic to go out of my machine when my VPN connection is abruptly lost or manually terminated: #!/bin/bash echo "Please wait ...
0
votes
1answer
171 views

trying to setup a vpn in kali linux but internet icon not working

I have recently installed kali linux 2.0 in VMware and been trying to setup a vpn. The tutorials available all point to the icon being clickable, hence opening the option of adding a vpn. Is my ...
0
votes
0answers
170 views

Internet connection only through VPN after forced shut down

When on campus, I can only access the internet via the university's VPN. The connection is established by the Cisco Annyconnect Client (version 4.1). I also set the proxy in the browser. All according ...
0
votes
0answers
108 views

vpn connection was failed

I have CentOS 6.6. I used a Cisco compatible VPN (vpnc), but after I made a VPN and clicked on it, I got the following error message: the vpn connection "1" was failed" Then, when I used this ...
0
votes
1answer
244 views

Possible to route all LAN traffic through router configured with my VPN service?

I have a paid VPN service (mullvad) and I wondered if it would be possible to route all my WAN traffic mullvad's VPN via an Asus RT-AC66U wireless router running DD-WRT v24 sp2. I guess what i'm ...
-1
votes
1answer
8k views

Setting up a VPN in Kali Linux 2.0

I just installed the latest version of Kali Linux, i.e., Kali Linux 2.0.  I want to know how to set up a VPN in this version.
0
votes
0answers
47 views

OpenVZ OpenVPN IPV6 Routing Problem

I have an OpenVZ server with OpenVPN on it, and I also have IPV6 being routed to it. (Currently two /64 blocks) I was trying to route one /64 block to the main system for use with other processes such ...
0
votes
1answer
76 views

How to set up VPN on debian 8.1

I have been trying to set up a VPN connection by following the instruction on zpn.im but after restarting the network-manager by typing sudo /etc/init.d/network-manager restart and going to create a ...
1
vote
0answers
51 views

Port Forward WAN Traffic through VPN

I am new to VPN and Traffic rerouting. I already read this thread: Port forward to VPN Client? But I didn't get it working :/ That is why I am asking again. So here is my problem: I have a server ...
1
vote
0answers
69 views

Routing only VM traffic through VPN

I'm stuck on a problem and would like some help if possible :-) My goal is to make my VM going through my VPN connection and my HOST through the standard gateway. Configuration : VM (192.168.100.1) ...
1
vote
1answer
200 views

Make user made entries in /etc/hosts permanent

I use Juniper Networks network connect to connect to the office network. Once i am inside the office network, i check the server ips and add entries for them in /etc/hosts file like, 10.199.xx.yy ...
0
votes
0answers
76 views

External port forwarding stop working when VPN is activated

I've a problem with my local Debian server. I use a port forward to allow access from outside my lan to my server. It's works very well but when I activate my VPN (OpenVPN) on my server, the port ...
-1
votes
2answers
110 views

Curl, ping hangs/waits when using private network ips

I have a whole bunch of servers working inside my office premises private network. When I try to run my tests outside office network, curl/ping/python/nodejs requests library, all of them wait ...
0
votes
0answers
24 views

PPTP IPs different than LAN ips

in /etv/pptpd.config I have: localip 1.0.0.1 remoteip 10.0.0.100-200 my server real IP is 192.168.1.40 (my LAN is 192.168.1.0) is it OK to do it? how I can route it so the clients with ...
2
votes
0answers
273 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 ...
0
votes
0answers
218 views

Host a server with NGINX using VPN behind a NAT

so I was hosting a server using NGINX on a Raspberry Pi using a T-Mobile mobile router. All was working fine, till I noticed today that T-Mobile started to put me behind a NAT sometimes. So I heard ...
1
vote
0answers
110 views

Unable to surf internet with VPN on OpenBSD

I am using OpenBSD 5.7-amd64 with the latest patches applied. I downloaded and installed OpenVPN (package version: openvpn-2.3.6.tgz) available for OpenBSD 5.7 using the following command: sudo ...
1
vote
2answers
314 views

Iptables exception for specific port

I'm new to iptables but configured a simple natting today on my raspian: # Always accept loopback traffic /sbin/iptables -A INPUT -i lo -j ACCEPT # Allow established connections, and those not ...
1
vote
2answers
233 views

bash command/script to reset default route

I manage several OpenWrt (embedded linux) routers for which I've written bash scripts to run an Openconnect VPN client. The client uses "vpnc-script" to set up routing, which replaces the initial ...
1
vote
1answer
197 views

Is there any P2P VPN solution that does not require port opening(forwarding)?

The closest to a VPN P2P-based solution that I have found is PeerVPN: really easy to install, but it needs to open one port (7000 TCP by default) on one of the computers (also known as node) that runs ...
0
votes
0answers
271 views

Replacing AWS VPC Default VPN with OpenSwan (with HA)

Unfortunately AWS doesn't support IPSec Ikev2, DH group higher than 2 and AES256. So we are switching to OpenSwan. I was able to set up OpenSwan on a NAT instance on a VPC's public subnet with EIP and ...
1
vote
1answer
72 views

Forwarding traffic coming from SSH tunnel to VPN tunnel on a Linux device

I want to route network traffic that comes from one end of an ssh tunnel (constructed by ssh dynamic port-forwarding) into one end of a VPN tunnel. Given four Linux devices A, B, C and D, for ...
0
votes
1answer
2k views

Strongswan forwarding traffic between two IPsec tunnels

Given a remote (centralized) VPN server with a StrongSwan IKEv2 setup with external static IP: centralized server internal IP 192.168.1.65, network 192.168.1.64/27 And two gateways doing NAT for ...
1
vote
0answers
277 views

VPN: Script at /etc/ppp/ip-up.d/ not autoexecuting on PPTP connection established

My PPTP client is Ubuntu Desktop 14.04.2LTS. My PPTP Server is a Buffalo DD-WRT Firmware. If I establish my PPTP VPN connection (named Themiscyra): luis@PortatilHP:~$ sudo pon Themiscyra ...
0
votes
1answer
150 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 ...
0
votes
1answer
91 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
76 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
606 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
91 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 ...
0
votes
0answers
106 views

Why is my laptop being blocked from connecting to a PPTP VPN server?

I have a fairly simple network at home Internet --> Modem --> Linux Router --> Switch --> Laptop The problem: There is a PPTP VPN server at work that I need to connect to from home. I configured my ...
0
votes
0answers
29 views

OpenVPN Network to Network issues

I'm having some trouble getting OpenVPN working (as a tunnel between networks). I've gone through the following steps INITIAL SETUP 01. Installed openvpn and easy-rsa with yum 02. copied the example ...
0
votes
0answers
421 views

Problem Creating a tun interfcae with SoftEther VPN Client on CentOS

I'm trying to make a VPN connection using SoftEther VPN Client on CentOS 7. When I try to create a new NIC, I get this error: VPN Client>NicCreate NicCreate command - Create New Virtual Network ...
0
votes
0answers
85 views

“VPN connection failed” when ufw is on even if there are no rules in ufw interface

Ubuntu 14.04 After update related with ufw and switching nvidia drivers back and forth, suddenly, I can't establish VPN connection to internet. I've deleted all rules and reseted profile in ufw ui but ...
2
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
966 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
127 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.
1
vote
0answers
456 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
321 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
98 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
287 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
200 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
233 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
350 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
673 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
39 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
127 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
397 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
180 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, ...