2
votes
0answers
20 views

How to setup multiple OpenVPN connections on a server for a single localhost app to use on CentOS 6.5?

I have a scenario where I need to run several OpenVPN connections at one time and to allow a singular application to access each of these connections. How wold I go about starting up several ...
0
votes
1answer
45 views

Same routes under VPN - how to workaround?

I only have basic experience with VPNs (mostly OpenVPN) and mostly theoric, but now I want to set up something more complex and I am evaluating the possible issues that I may face. I will try to ...
1
vote
0answers
24 views

Policy routing local user's traffic down a tunnel

I've got a Linux based Firewall/Router running iptables and SNAT for traffic passing through it to the Internet via a single uplink - This is working fine. There is also a small number of applications ...
0
votes
1answer
44 views

How can I create routes between two separate LANs on the internet over an OpenVPN tunnel?

Diagram I have separate router/OpenVPN appliances at two different sites. The appliances are actually TP Link routers running OpenWRT 12.09, r36088. I would like clients behind these two routers to ...
0
votes
0answers
28 views

Routing traffic from LAN over VPN link out to 'net; works from router, not from LAN. What route is missing?

I have 3 machines. 2, routers, are connected over a VPN. The 3rd is a PC on the lan behind one of the routers. internet | | ROUTER S1 external: YYY.56.52.56 ...
0
votes
0answers
24 views

Routing, OpenVPN and blocked Packets to Router

I have a running Zentyal Router. Now I have created a Softether-VPN (which wraps OpenVPN basically), to connect to this network per Network-Bridge/L2-Switch. So, when I connect per VPN I am in the ...
0
votes
1answer
43 views

OpenVPN Site-to-Site Routing Woes

I'm fighting with an openVPN setup for connecting two sites. This is what the scenario looks like Office 1 (server): local network: 192.168.178.0/24 openvpn server public ip: 192.168.178.2 on br0 ...
0
votes
1answer
34 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. ...
0
votes
1answer
43 views

openvpn server for mobile access routing/bridging

I'm running a web server on an IPC and want to get access to the network with VPN, because the customer doesn't want to host his data directly on the internet. This web server runs a webapp, which ...
1
vote
0answers
48 views

Pfsense OpenVPN Site to Site Routing issues

I know this question has been asked a plethora of times before and I have looked over probably 100 different answers and still cant seem to get this to work. Im trying to create a very simple site to ...
0
votes
0answers
21 views

Problems on using KVM Guest as router

We have two private subnets on different locations BJ and SH. in BJ, subnet is 10.1.0.0/16 in SH, subnet is 10.2.0.0/16 We want them connected, so we build a tunnel through public internet using ...
0
votes
1answer
77 views

Configuring Shorewall for routed OpenVPN

I have an Ubuntu server 14.04 machine that serves as a NAT router. The routing is achieved using Shorewall, mostly in line with this tutorial. The LAN has the subnet 10.0.0.0/24 On this machine I ...
0
votes
1answer
682 views

How to configure OpenVPN server to use custom default gateway?

I have a vpn server at address 10.1.0.2 and the server have another ip in it's network -- 10.0.0.2 in his subnet (it's a tun2socks router). But default server's gateway is NOT 10.0.0.2 (and it's ok) ...
0
votes
1answer
567 views

OpenVPN tun routing (can ping tun interfaces) with mikrotik and NAT on both ends

Problem The Mikrotik site is unable to ping anything on the server site. The Server site is less important right now. OpenVPN Server config is on LINUX port 1194 proto tcp dev tun ca ca.crt cert ...
3
votes
1answer
872 views

How do I route all traffic from clients connected to the DD-WRT to its OpenVPN tunnel tun0?

I am setting a secondary (DD-WRT) router to act as a OpenVPN client so that all clients would get VPN access simply by connecting to the router. But seems clients traffic is always routed via the main ...
0
votes
0answers
150 views

OpenVPN client routing on TomatoUSB router (gw IP instead of dev interface)

I connect to my openvpn server over Linux (Debian), iOS, Android - everything is ok. But over router (as client) with TomatoUSB firmware it's a problem with routing. I connect to my ISP over L2TP ...
1
vote
3answers
438 views

How can I achieve OpenVPN client routing without NAT on Linode

I've set up an OpenVPN network, and it is working properly in the sense that I can access the inner/LAN machines from the remote client. However, my problem is that all traffic from the remote ...
0
votes
0answers
571 views

[SOLVED ]Openvpn routing for lan to lan through tun

I am trying to setup an OpenVPN tun to connect two lan's The open vpn connection is up and working but there is a problem with my routing or nat or something. What I need is an example of what a ...
2
votes
1answer
131 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
0answers
46 views

OpenVPN Server & Two Gateways

I have a network setup as follows: Internet <---> Firewall <---> VPN (1) VPN <---> NAT (2) Internet <---> Firewall <---> NAT (3) (I don't have the reputation to post the picture :/) ...
1
vote
1answer
78 views

OpenVPN Connecting Tunnels

I am struggling with a specific OpenVPN scenario for a few months now. Researching on Google, reading on Serverfault, browsing Blogs and other forums, messing with my config time and time again. I am ...
0
votes
1answer
230 views

Route IP to OpenVPN client

I have to external IPv4-IPs at my VPS. I want to route one to a VPN client, OpenVPN (tun). Only one VPN-Client should use the VPN, and I want to route all traffic to my second external IP to this VPN ...
0
votes
2answers
68 views

Multicasting on server with bridged interfaces

Network: 10.1.1.2 and 10.1.1.3 in same network. 10.1.1.2 has VPN server running in bridged mode. 10.1.1.4 - ip address of VPN client. All machines have Debian 6 installed. I'm trying to test ...
0
votes
2answers
162 views

How do I use OpenVPN for all traffic other than ports 80 and 22 (inbound and outbound)? [closed]

I use a dynamic DNS service which is sent ip address updates from my router. In router settings, ports 22 and 80 are forwarded to my server at 192.168.1.10. I have a webserver and sshd running on my ...
1
vote
1answer
1k views

Tunneling traffic from eth0 to tun0 (OpenVPN) Ububtu 12.04

Following the steps described here I've managed to configure both the VPN server and client(I can ping both ways). Their respective configuration files are: server: ;local a.b.c.d port 1194 ;proto ...
1
vote
0answers
117 views

Connection two subnets behind routers

Task is very peculiar. I ask your help. Do you have any ideas on this subject. We have: 1.First device: |Internet| -> |ASUS RT-N16(firmware dd-wrt) 1| -> |Server base on Ubuntu 1| 2.Second device: ...
0
votes
2answers
487 views

OpenVPN client as gateway for other clients

I have OpenVPN network with one server and two clients. When I setup my default route on C1 to go through S (which does have ip forwarding and NATing enabled), everything works as expected. The ...
0
votes
0answers
58 views

OpenVPN - Routing from one VPN into another

I have the following situation. I have a root server, which acts as a VPN server for my company network and as a VPN client to multiple customer-networks. Every seperate connection works (I can ping ...
3
votes
1answer
781 views

iptables: access connected openvpn client from the LAN with the VPN server

I have what is essentially a routing problem, and I'm not familiar enough with routing and iptables to effectively troubleshoot and set up my network needs. What's working I have an openVPN network ...
0
votes
1answer
185 views

Route traffic to some host in Internet via VPN server

I need route traffic to some host in Internet via VPN server. Configuration: Computer: ubuntu-12.04 eth0 - x.x.x.x/24 tun0 - inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255 There is ...
2
votes
1answer
1k views

OpenVPN not redirecting all traffic through VPN

I have just finished setting up my VPN, and google shows my IP to be that of my VPN, so this works fine. However, when I log in through SSH to the VPN server, it shows my last login to be that of my ...
0
votes
1answer
80 views

OpenVPN not redirecting

I've tried to follow the official documentation, but I can't seem to get it to work. In my /etc/openvpn/server.conf I have push "redirect-gateway def1" push "dhcp-option DNS 8.8.8.8" set and I ...
1
vote
1answer
178 views

OpenVPN - VM-Setup with MacVTap, ICMP echo works, TCP/UPD don't

Short résumé No errors, no dropped packets, pings reach clients, tcpdump shows packages travelling, everything else never reaches the LAN hosts (or OpenVPN clients). Edit After trying to eliminate ...
0
votes
1answer
386 views

OpenVPN split tunel

I've been trying to set up vpn just for one specific ip address. What I want is to have so all traffic that is sent to single ip ( 1.2.3.4 for now ) would go through openvpn client. My current ...
0
votes
0answers
232 views

Using OpenVPN only for specific applications on Linux

I have a working PPTP VPN with very specific routing requirements that I need to replace with OpenVPN due to issues with our ISP, and I am having issues adapting my routing rules to OpenVPN. I only ...
1
vote
1answer
54 views

Understanding VPN Implementation

The above image shows what I think occurs during an OpenVPN connection. Hosts A and B are connected to the VPN through the VPN server at 1.2.3.4:1194. My question is: if host A wishes to send a ...
0
votes
0answers
33 views

openVPN as a way to connect to a LAN by another client, different from server

Setup: one LAN handled by a router without a publicly available IP address but without any outbound connection restrictions ("target LAN"); a separate server publicly reachable from the Internet ...
0
votes
1answer
114 views

Setting up a server that routes local traffic through vpn, while still being able to access internet directly

The goal is to setup a local server that routes local traffic through an uncontrolled remote vpn service while still being able to access the internet directly (not tunneled via vpn) and provide ...
1
vote
0answers
188 views

Complicated OpenVPN/IPSec passthrough setup to solve

I currently have some sort of complicated setup to do. I have a dedicated server, installed with OpenVPN server. There is one OpenWRT router connected to the dedicated server via OpenVPN. On the other ...
0
votes
0answers
35 views

Remote domain clients use remote gateway instead of local gateway

I've a remote office, connected via VPN LANtoLAN to the main office where is located a server with 2003 SBS. In the remote office there is a dozen of clients not joined to the domain, that use local ...
5
votes
4answers
1k views

Openvpn, forward packets very slowly

I rebooted my server, and an odd issue just came out. I am running on ArchLinux, the clients are Ubuntu, Android and Mac. The problem is that accessing the internet via the clients is slow, about ...
2
votes
3answers
1k views

iptables: combine SNAT with network remapping for OpenVPN

[Apologies for the long prelude; question halfway down.] I have a working OpenVPN setup whereby a VPN server pushes a route back to one client (hereafter called the “router”) which can then expose ...
1
vote
0answers
106 views

openvpn setup ping/routing fail

My problem is that after setting up VPN on a virtual machine (Ubuntu Linux) with that has an IP I cant ping anyone at all over the tun interface from the client. VPN Connection is however successful. ...
0
votes
2answers
503 views

OpenVPN routing issue (cache in routing tables)

I'm adding the route IP_ADDRESS NETMASK net_gatewayto the OpenVPN config file (locally), so it's not being pushed by the server and it works perfectly fine. However, when I remove the routing line ...
2
votes
1answer
206 views

OpenVPN routed lans

Setup description: One VPN server called vpn1 One VPN client called vpn2 One network behind vpn1 with IP addresses 10.0.0.0/24 One network behind vpn2 with IP addresses 10.0.2.0/24 For simplicity ...
0
votes
1answer
153 views

Create route through OpenVPN via specific IP address / virtual interface on Linux

I have a Linux server at home, on which I run an OpenVPN client connected to some server on the Net. What I want to archive is this: I want my home server to expose an interface (e.g. an IP address), ...
0
votes
2answers
378 views

Multiple Subnets on OpenVPN

Let me start of by saying that I/m new to posting questions here. So if I do no post enough information, please let me know. Let me know what more I should post. I'm using OpenVPN for my VPN ...
0
votes
2answers
336 views

How to set a custom route source in openvpn

I have a simple openvpn configuration. remote 1.2.3.4 dev tun ifconfig 10.74.1.13 10.75.2.1 secret static.key route 10.75.0.0 255.255.0.0 keepalive 10 60 When the link come up, the routing table is ...
1
vote
0answers
65 views

OpenVPN routing between static hosts

I have an OpenVPN server with successful static-key tunnels to two separate hosts - my laptop, and another server elsewhere on the internet. I have connectivity over both OpenVPN tunnels. How do I ...
1
vote
1answer
2k views

pfSense OpenVPN clients routing

We've setup OpenVPN using pfSense 2.0.2. Local subnet is 192.168.1.0/24, VPN clients are 10.0.1.0/24 We also have another subnet 192.168.0.0/24 which is connected through pfSense IPSec as a ...