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

All Questions

Tagged with
1 vote
1 answer
207 views

Networking: NAT two interfaces together on Windows

I have the following setup: Openvpn client (Linux) (Openvpn IP 192.168.99.4) Openvpn client (Windows) (Openvpn IP 192.168.99.2) Openvpn server (Linux) (Openvpn IP 192.168.99.1) Now, both clients ...
twit's user avatar
  • 11
1 vote
0 answers
85 views

OpenVPN server not routing to its own LAN (Windows)

I'm trying to enable communication between local LAN of existing oVPN server and remote networks. Both remote and local devices are communicating with PC (this was working for years) but they cannot ...
Aramil's user avatar
  • 431
1 vote
0 answers
482 views

How to get OpenVPN Windows client bypass its own traffic correctly?

Typically we bypass OpenVPN traffic (making its own encapsulated packets go outside the tunnel) by adding a static route towards VPN server via the default gateway, and it's the behavior of --redirect-...
ReeseWang's user avatar
1 vote
0 answers
1k views

Windows 2019 OpenVPN Server not routing local LAN

I'm trying to get my OpenVPN server on Windows Server 2019 to route traffic properly to the internal LAN, and so far I can't get it to work at all, being unable ping the server's LAN IP or any other ...
Tom 's user avatar
  • 11
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
0 votes
1 answer
560 views

Allow only traffic to specific IP ranges to go through VPN

I'm using OpenVPN on Windows. I have followed the instruction from this question OpenVPN: Only route a specific IP addresses through VPN? to be able to route traffic to a single IP or an entire subnet ...
Teiv's user avatar
  • 1,019
0 votes
0 answers
599 views

Routing with VPN [Windows]

I'm connected via WiFi to the network of my university. I need to connect to a VPN in order to get internet access. In addition I want to connect to my home network, so I can access my network drives. ...
coolerfarmer's user avatar
0 votes
1 answer
2k views

OpenVPN and Windows routing table

So I'm a student and I need to connect to my university VPN very often in order to use Matlab, AutoCAD, etc. I'm using their OpenVPN network instead of Windows PPTP, cause I have more control. This ...
rmd1010's user avatar
0 votes
2 answers
294 views

Windows routing issue

I have two Windows boxes (Windows 10 and Windows 7). The first one named SERVER runs OpenVPN as server, the remote one named REMOTE runs the OpenVPN client and connects to the SERVER fine. Both have ...
Thomas's user avatar
  • 279
0 votes
1 answer
1k views

How to get the gateway for a specific route on command line in Windows?

Is there a way to print out the gateway for a specific route (not interface) in Windows (in this case Win7)? I'd need to add a route dynamically in an OpenVPN _up script, but since the gateway is ...
Ville's user avatar
  • 3,182
1 vote
1 answer
691 views

Finding default gateway in an openvpn environment in windows

I need to find the default gateway in a openvpn scenario where the route output looks like that: IPv4 Route Table =========================================================================== Active ...
user avatar
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
0 votes
0 answers
682 views

Route all traffic via OpenVPN client

I've got OpenVPN client running on 192.168.0.3. What I'd like to do is route all the traffic from the second computer with 192.168.0.100 via OpenVPN client that's running on the first computer. My ...
Ilya Suzdalnitski's user avatar
4 votes
2 answers
10k views

Routing everything except a certain IP range through an OpenVPN tunnel

I've been working with my OpenVPN server for a while, and I have a rather interesting problem. I need to redirect all client traffic through the tunnel except for a couple IP's that need to be ...
caesay's user avatar
  • 416
0 votes
1 answer
2k views

How to set routes on Windows so that traffic is allowed through VPN only?

What routes do I have to set on Windows so that while using OpenVPN I have full Internet connectivity, but if OpenVPN tunnel collapses then my computer has no routes to use and thus has no ...
baobeiii's user avatar

15 30 50 per page