0
votes
0answers
14 views

tun0 not listening traffic on a simple vpn example

I tried to setup a simple vpn test server on Ubuntu 12.04, called ToyVPNServer. The guide is simple and I take test for days but still cannot get connected. The inspection result is showing the issue ...
-1
votes
0answers
44 views

ubuntu 12.04 vps server pptp setup not working, openvz host has ppp/pptp enabled

I'm trying to setup a vpn between two servers with pptpd on one server and the client running on the other. I am using ubuntu 12.04 on both server vps's. I had the one vps provider enable all the ...
0
votes
1answer
44 views

OpenVPN Access Server connects and can browse all other ports than port HTTP and HTTPS

Hello dear Serverfault experts, I have a very frustrating issue with my recently installed OpenVPN Access Server ...
0
votes
0answers
44 views

Site to Site VPN - Openswan and CISCO A2A

Below is the diagram that the VPN connection between Openswan server and CISCO A2A. http://i.stack.imgur.com/yQBSw.jpg client A and B are remote hosts with static ips. client X and Y are behind the ...
0
votes
1answer
44 views

VPN routed traffic, response goes outside of VPN?

Here's a weird one. Whenever I'm on a hotel network I tend to like to route all my traffic through my home network. Mainly since I'm not entirely sure all my passwords go through SSL all the time. ...
1
vote
1answer
73 views

Understanding an OpenVPN bridge from iptable's point of view

In my scenario, there is a machine which acts as both an iptables-based firewall and an OpenVPN-server at the same time. It has two network interfaces - eth1 is connected to the internet whereas eth0 ...
0
votes
0answers
751 views

VPN pptp connection Unable to pass through linux iptables

I have set up a windows VPN server behind Linux - Ubuntu box that is working as firewall and proxy server. Now I want people from outside to be able to connect to the VPN server, but the connection is ...
1
vote
1answer
201 views

How to stabilish a VPN connection, only on port 8080

Infrastructure: Here's what I want, be able to connect to the website 10.10.100.32:8080 from my LAN on 'Router 1', and all the traffic outside the port 8080 should go to the default gateway 'Router ...
2
votes
1answer
170 views

Redirect all traffic sent to an unallocated alias IP within a VPN subnet, to a fixed IP within another VPN

I have a server hosting multiple bridged (i.e. tap) VPNs using openvpn, where each VPN has a different 10.8.X.0/24 subnet. I wish to redirect traffic sent to a specific, unallocated IP address (e.g. ...
0
votes
1answer
139 views

Network remapping with iptables and PPTP VPN

I have two different networks: Home network 192.168.1.0/24 A - Home PC (192.168.1.100) B - Home Router (192.168.1.1 lan ip - x.x.x.x public ip) Office network 192.168.1.0/24 C - File Server ...
2
votes
1answer
118 views

How can i prevent TINC from relaying DHCP

I am running tinc in several NAT routers running Debian 7 Wheezy, the VPN works fine for months, except because i've set it up in switch mode it relays DHCP requests and answers over all the VPN. The ...
0
votes
0answers
58 views

enable user to connect to external pptp VPN server

I want to enable local user to connect to remote VPN server I added those rules to the iptables but still not able to connect -A OUTPUT -p gre -j ACCEPT -A OUTPUT -p tcp -m tcp --dport 1723 -j ACCEPT ...
0
votes
0answers
138 views

redirect http traffic through ppp0(vpn tunnel)

So I have this tunnel connection with a VPN on interface ppp0, I need to redirect the traffic through that vpn, of course if I do route add default dev ppp0 it will redirect all the traffic through ...
1
vote
0answers
49 views

Open ports for VPN users

I have been looking around for some time for answer to this, and have yet to find one. The issue that I am having is that users that are connected to the VPN cannot do the following, as examples: ...
1
vote
3answers
260 views

OpenVPN forwarding keeps redirecting me to server itself (with openVZ)

I'm trying to configure a VPN on a new virtual server, powered with OpenVZ. I took the configuration of my current VPN, which is hosted on a Xen VPS and pasted it on my new server. After many tries, I ...
1
vote
1answer
302 views

iptables to block VPN-traffic if not through tun0

I have a dedicated Webserver running Debian 6 and some Apache, Tomcat, Asterisk and Mail-stuff. Now we needed to add VPN support for a special program. We installed OpenVPN and registered with a VPN ...
0
votes
0answers
372 views

When connecting to PPTP Centos via Windows 7 VPN, I get error 2147943625

The remote computer refused the network connection. phrase has been my arch enemy for the past week now I recently "bought" a VPS server, I gave up trying to configure it with OpenVPN, all the issues ...
2
votes
1answer
291 views

route http and ssh traffic normally, everything else via vpn tunnel

I've read quite a bit and am close, I feel, and I'm pulling my hair out ... please help! I have an OpenVPN cliend whose server sets local routes and also changes the default gw (I know I can prevent ...
1
vote
2answers
163 views

Route a specific user's traffic via VPN but still allow local networking

So, I want to route certain traffic via a VPN connection and the rest via my normal Internet connection. I want to run several different programs and most of them don't support binding to a specific ...
1
vote
2answers
298 views

How to make incoming and outgoing IP same on a multiple IP binding server

I have a centos 6 VPS configured 1 network interface binding with 4 IPs, for example 172.x.x.11, 172.x.x.12, 172.x.x.13, 172.x.x.14 binding with venet0:0, venet0:1, venet0:2, venet0:3. I have pptpd ...
2
votes
1answer
704 views

OpenVPN bypass on some ports

This is my first question here, so please be kind :-). I have a server running Debian 7 and I would like to connect to a VPN and let all the traffic pass via the VPN except for some ports (SSH, ...
0
votes
0answers
117 views

Open port and route incoming traffic back to the connected client - OpenVPN

I did my own VPN setup on a CentOS box and it's working very nice and smooth. However I would like to add a feature that I open a specified port on the box for the incoming traffic that should be ...
0
votes
0answers
113 views

Why NATted packets have different source ip addresses?

I've got ubuntu box with nat. Here is the problem: root@office.redhelper.ru:~# tcpdump -i tap0 host 194.190.8.141 -n tcpdump: verbose output suppressed, use -v or -vv for full protocol decode ...
1
vote
0answers
167 views

DD-WRT/TOMATO Whitelist openVPN connection for specified client MAC/IP

I will use these settings: # Allow these TRUSTED hosts unrestricted access iptables -A wanout -i `nvram get lan_ifname` -m mac --mac-source <allowed MAC #1> -j ACCEPT iptables -A wanout -i ...
1
vote
1answer
394 views

VPN chaining using openvpn

My boss got extra-paranoid and wants me to organize VPN-chaining of some sort for him. I come up with following scheme: Client VPN1 VPN2 ...
0
votes
2answers
557 views

Routing through OpenVPN gateway

I have the following setup: ++++++++++++++++++ + OpenVPN server +........ . . . . (cat pictures) ++++++++++++++++++ | | ...
0
votes
1answer
124 views

ipsec routing / strange routing behavior

I have following network configuration: Office1 <-- openvpn --> office2 <-- ipsec tunnel --> branch office Office1 and office2 are on Debian, Branch office: juniper srx100 Office1 ...
-1
votes
1answer
162 views

re-route requests on filtered smtp port 25 [closed]

My VPN filters port 25 (to prevent spam) but my ISP doesn't. The VPN takes over all traffic and changes the default gateway? How can I bypass the VPN to send mail? I want all outgoing traffic except ...
0
votes
1answer
247 views

OpenVPN pass through to lan and out second internet connection

I asked on SuperUser, was told it might be best to ask on here, so here we go. I want to run OpenVPN on a computer connected to a FiOS connection on one NIC, then pass that traffic onto the LAN, and ...
1
vote
1answer
338 views

Provide public access to a local web server through VPN

I have a VPN tunnel established between 2 servers: VPS-A and VPS-B having the (fictional) public IP addresses: 66.55.44.33 and 77.88.55.66, and VPN endpoints 10.0.1.1 and 10.0.2.1 respectively. There ...
0
votes
1answer
652 views

How to send HTTP request issued by cURL through VPN?

Please excuse me for (probably) the noob question, but I am very new to Linux networking. I've already spent a few days searching the Internet for an answer to my question, but was unable to find one, ...
0
votes
3answers
1k views

OpenVPN - Client traffic is not entirely routed through VPN

I installed OpenVPN on my dedicated server. Using Viscosity or Tunnelblick on the client, I successfully connected to this server. However, after some tests, I realized that not all the traffic ...
0
votes
0answers
59 views

OpenSwan issuing same IP

So I have finally got the authentication to work, and it will now connect, but when I go to use the connection I can't actually use the network. looking at the connections it seems to be issuing the ...
0
votes
1answer
2k views

I can connect, but cannot ping/route to remote VPN computers

Setup: L2TP VPN Server on a Windows Server 2008 machine which is behind a router, which is behind a modem/router. Modem/Router (IP: 192.168.2.1, Subnet: 255.255.255.0, DHCP serves 192.168.2.2 to ...
0
votes
1answer
200 views

Iptable forward configuration

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 ...
1
vote
2answers
153 views

OpenVPN Endpoint to endpoint using the real IPs

I want to connect two servers to eachother over the internet. For various reasons I cannot use IPSec for this. I would like traffic to be transparently encrypted as if I was using IPSec transport ...
0
votes
1answer
154 views

Allowing port 22 on localhost VPN only

I rent a remote server, and run an OpenVPN service on this server. I am trying to secure my firewall (iptables) so the only person who can access SSH is somebody connected to the VPN (localhost). ...
0
votes
2answers
67 views

Dumping the contents of HTTP packets between two VPNs

Here's my setup: Client ---> VPN 1 (my pc, same subnet of the client) --> VPN 2 (external VPN) --> Internet Both VPNs are L2TP/IPSec and the first one is an Ubuntu server with Openswan. I need ...
0
votes
1answer
267 views

IPSec VPN routing

This is supposed to be a pretty simple question but I couldn't google a answer for it! I have a ipsec VPN tunnel established between 1.1.1.1 and 2.2.2.2 (public IPs). The first machine (1.1.1.1) has ...
0
votes
2answers
1k views

OpenVPN TLS key negotiation failed

I've setup my OpenVPN server and client before and it works perfect last month. But now i can't connect to the server without any config changing. Here's the cilent side log(Win7): Mon Feb 18 ...
0
votes
1answer
326 views

iptables POSTROUTING not working in local area

I used command iptables -t nat -I POSTROUTING -o $INTERFACE -p tcp -j SNAT --to-source $IP to make my server packets visible as $IP. But the problem is, that it didn't work inside local area, so ...
1
vote
1answer
700 views

Openswan tunnel to remote public NAT'd host

Need help on this VPN set-up to work. Left-hand. EC2: eth0:10.0.0.100/EIP=1.1.1.1 (ie. NAT'd IP) eth1:10.0.0.200/EIP=2.2.2.2 Peer ip/leftid: 1.1.1.1 Right-hand. Cisco: Peer ip: 3.3.3.3 ...
0
votes
1answer
872 views

Simple iptables port forwarding with masquerading not working

I'm trying to set up a simple VPN server on EC2 (Ubuntu 12.04) with the Android example ToyVpnServer. Its instructions: // There are several ways to play with this program. Here we just give an // ...
2
votes
2answers
1k views

Routing problems to certain domains with PPTPD VPN setup

We've been struggling with some kind of network/routing issue with a PPTPD based VPN where the clients can't access certain internet domains/ips through the VPN. As an example, the user can browse ...
1
vote
1answer
1k views

iptables - force all traffic over VPN (and drop all traffic when no VPN connection)

Goal: Ensure all traffic is forced over VPN tunnel from all network interfaces (wlan0,rmnet0,rmnet1), that is all traffic is dropped when not connected to VPN. In other words, Internet traffic should ...
1
vote
1answer
498 views

Issue with OpenVPN acting as client + server

I have 3 Amazon VPCs (Dev - 10.100.0.0/16 , QA - 10.101.0.0/16, Prod - 10.104.0.0/16). Each of these VPNs has an OpenVPN server. They are dolling out client IPs as follows: Dev - 10.100.0.0/16 - ...
1
vote
2answers
1k views

How to access remote lan machines through a ipsec / xl2ptd vpn (maybe iptables related)

I’m trying to do the setup of a IPSEC / XL2TPD VPN for our office, and I’m having some problems accessing the remote local machines after connecting to the VPN. I can connect, and I can browse ...
1
vote
0answers
818 views

OpenVPN enable split tunneling, client to overload over their own Internet connection

I am trying to enable split tunneling with my VPN network. I am using OpenVPN to host my VPN network and have follwed the steps to get split tunneling working however my clients still get the: 0.0.0.0 ...
2
votes
1answer
661 views

Route outbound connections from local network through VPN

I have a server A running OpenVPN, an OpenVPN client B (a rooted Android phone as it happens) and a third party C (a laptop, tablet etc.) tethered to B. B can use the VPN to access the internet via ...
1
vote
0answers
168 views

Using iptables to make a VPN router

I am attempting to make a VPN connection to a third party VPN site, then forward traffic from my internal computers (ssh and ping for now) out to the VPN site using IPTables. 3rd Party <-> ...