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
16 votes
3 answers
29k views

Is it possible to have 2 different VPN connections simultaneously on the same machine? maybe on different network interfaces?

I am setting up a new cluster in my new workplace, and I am still administering another cluster in my last work place. Basically I am "copying" the configuration of the first one to setup the new one. ...
Danduk82's user avatar
  • 248
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
7 votes
0 answers
367 views

How to route OpenVpn traffic through another server?

I have a server (ubuntu 22.04) with Openvpn on it on port 443 (with docker image kylemanna/docker-openvpn). It is working with no problem and the clients can connect to it. The problem is that the ...
Amir Sheybani's user avatar
6 votes
1 answer
2k views

Set up a VPN only for outbound UDP traffic on Windows 10

Is it possible to only route outbound/outgoing traffic through a vpn, while accepting inbound traffic directly, bypassing the vpn connection? I am mostly interested in routing UDP packets. I've only ...
Nikita's user avatar
  • 125
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
6 votes
1 answer
4k views

How do you route within an Amazon VPC subnet?

I have an Amazon Virtual Private Cloud that looks like this: 10.40.1.1 Internet Gateway 10.40.1.5 My OpenVPN Instance 10.40.1.100 My Windows Box What I want is traffic from the Windows box ...
goertzenator's user avatar
6 votes
1 answer
11k views

disable NAT in openvpn

I'm having a similar problem to this: OpenVPN without NAT Seems it wasn't answered yet. Description of my situation: I have an openvpn server on network A which another admin installed before he ...
Hans's user avatar
  • 63
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
6 votes
2 answers
10k views

How to chain two OpenVPN servers?

I'm wanting to tunnel two VPNs, using OpenVPN. So, the client would connect to the first VPN and would be redirect to the second VPN. (These are all VPSs, I don't have physical access to it as it will ...
anonimou's user avatar
  • 121
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
5 votes
2 answers
18k views

Access Client side LAN on VPN server

Till now I have managed to installed OpenVPN server on DigitalOcean and OpenVPN client on Raspberry Pi. My Raspberry Pi's OpenVPN IP is 10.8.0.6 which I can ping from OpenVPN server. Now this RPi is ...
Bhushan's user avatar
  • 113
5 votes
2 answers
3k views

OpenVpn not working with Asus DSL-AC68U

Goal: Change the network location(country) using vpn at my house. Why: Vpn is much more secure than using proxy. It is integrated to the router. Do not want to use a shared solution such as a smart ...
Rıfat Erdem Sahin's user avatar

15 30 50 per page
1
2 3 4 5
20