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

All Questions

Tagged with
1 vote
2 answers
3k views

Only route a specific IP address through VPN

I am on a ubuntu 18.04 machine and want to route only a single IP through the VPN-Tunnel to my workplace network, namely the network file share. I have been given a .ovpn client configuration file ...
ammut's user avatar
  • 111
3 votes
2 answers
767 views

linux routing - how to switch PCs between multiple gateways

I have a linux router with multiple gateways (cable modem, ppp, vpn, etc). What's the best way to forward all internet traffic for individual users through different gateways? Here's an example: ...
internet-og's user avatar
2 votes
2 answers
10k views

What does push "route 0.0.0.0" do in the OpenVPN server.conf file?

I am wondering what is the role of push "route 0.0.0.0" in /etc/openvpn/server.conf. In fact, I had a push "route 0.0.0.0 " line (notice the space at the end) in my server.conf file, and I had to ...
Jean-François Beauchamp's user avatar
1 vote
1 answer
1k views

How do I manually add IP to my routing?

I need to add an IP to my routing. I'm connected to a lab with Openvpn. My routing looks like this now; Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use ...
BButter10's user avatar
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