Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
98 votes
5 answers
256k views

OpenVPN: Only route a specific IP addresses through VPN?

On a remote private network there are two servers -- a file server and a database server (these are both Win machines, in case it matters). The file server has its own fairly robust authentication ...
Brian Lacy's user avatar
  • 3,301
6 votes
1 answer
13k views

Routing a particular subnet into a VPN tunnel

My network looks like this: I'm trying configure my router so that the subnet (192.168.2.0/24) is routed over the VPN tunnel (tun0) on the gateway/router. While at the same time clients on the ...
moonmoon's user avatar
5 votes
2 answers
14k views

OpenVPN: Route only specific subnetwork through vpn - works for single IP adresses

I was trying to route only specific subnet/single through open vpn. I have read several questions like this on superuser, and even found good answer to my question. So I am now able to route single ...
running.t's user avatar
  • 278
11 votes
4 answers
37k views

Routing all Traffic through OpenVPN Tunnel

I have installed OpenVPN server on Archlinux and am now using OpenVPN GUI on Windows 7, I can talk to other computers connected through the VPN but I have not yet figured out how to route all traffic ...
Filip Ekberg's user avatar
11 votes
4 answers
133k views

Why can't my OpenVPN client access machines on same LAN as OpenVPN server?

I have configured OpenVPN on my Linux server and Windows client according to the instructions here. My client can access the server, but can't get any further onto the LAN. My Server is 10.23.29.64/...
Grezzo's user avatar
  • 972
8 votes
2 answers
14k views

Setup routing and iptables for new VPN connection to redirect **only** ports 80 and 443

I have a new VPN connection (using openvpn) to allow me to route around some ISP restrictions. Whilst it is working fine, it is taking all the traffic over the vpn. This is causing me issues for ...
Steve's user avatar
  • 355
6 votes
2 answers
13k views

Setting up bridged OpenVPN server with single public IP NIC

I've been trying to set up a bridged OpenVPN server without much success. I've got VPS running Ubuntu with one NIC, which has assigned static public IP to it. I want to be able to have a couple of ...
Tomasz's user avatar
  • 163
4 votes
1 answer
718 views

OpenVPN routing issue

Building 1: 10.1.0.0 255.255.0.0 Building 2: 10.10.0.0 255.255.0.0 192.168.0.0 255.255.0.0 Buildings are connected by 1G metro ethernet. I reside in building 1. 192.168.0.0 is firewalled from ...
AaronJAnderson's user avatar
3 votes
4 answers
38k views

When would a persistent route not be an active route? [duplicate]

I've added a persistent route to our Windows Server 2003 box using "route -p add". After a reboot the "route print" gave this: Active Routes: Network Destination Netmask Gateway ...
alnorth29's user avatar
  • 395
3 votes
3 answers
5k views

AWS OpenVPN Routing

I have a OpenVPN AS instance (AWS). I am trying to route traffic from my VPC (172.31.10.0/20) to home (192.168.5.0/24). What works: I can route ALL traffic from home (192.168.5.0/24) via 192.168.5.4 ...
Benjamin Jones's user avatar
3 votes
1 answer
1k views

What routes must be set (in Linux) to allow Internet access through given interface without setting it default?

I am trying to solve a task with routing and OpenVPN's configuration. After setting the connection, I don't want it to become defaut route to anything, but rather want to use its interface for this ...
kagali-san's user avatar
  • 1,724
2 votes
1 answer
2k views

How to route specific traffic through OpenVPN?

I'm running a server at home with rtorrent and apache2. I would like to route my rtorrent traffic via OpenVPN and since im kinda new to OpenVPN and iptables i would like to have a user friendly guide. ...
junkyhlm's user avatar
2 votes
1 answer
4k views

Policy routing for OpenVPN server & client on the same router?

PROBLEM An OpenVPN server instance (tun, udp, port 1194) is set up on a Linux-based router that also runs an OpenVPN client instance (tun, udp, port 1197) connecting it to a VPN provider. Both the ...
ndvour's user avatar
  • 31
2 votes
2 answers
4k views

VPN on SSID #2 (OpenWRT)

I am a new at openwrt (attitude adjustment - TP-Link WDR3600), I am trying to get an OpenVPN On Dedicated Wireless Access Point (VAP). Let me show you what I'm trying to do here with visuals: SSID ...
user avatar
2 votes
1 answer
332 views

How can my home server accept and reply to connections from the Internet when OpenVPN client is running?

I have a headless home server running Ubuntu Server 12.04. A 3rd party website (to which I'm subscribed) periodically sends commands to a daemon on my home server which in turn responds to the 3rd ...
x-x's user avatar
  • 495

15 30 50 per page