What's new

Welcome to GloTorrents Community

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask Questions and Get Answers from Our Community

Answer

Answer Questions and Become an Expert on Your Topic

Contact Staff

Our Experts are Ready to Answer your Questions

How to Split Tunnel Traffic with OpenVPN

_.:=iTake=:._

Administrator
Staff member
ZeuS
Super Moderator
+Lifetime VIP+
Registered
Joined
Oct 20, 2018
Messages
1,370
Reaction score
1,431
Points
113
Credits
14,854
Split Tunnel and Split Traffic

Environment:

  • OpenVPN 2.4.9
  • Ubuntu 18.04

How to configure it, “Server Configuration” or “Client Configuration” ?

Answer is “Client Configuration / Client Profile”.

How to configure Client Profile(.ovpn)?​

If you want to access your Home LAN(192.168.1.0/24), and you don’t want to route the Internet via VPN gateway. Please add the configuration,

route 192.168.1.0 255.255.255.0 net_gateway

If you want to only access your Company LAN(10.10.1.0/24, 172.172.1.0/24) via VPN gateway, please add the configuration,

Code:
route-nopull
route 10.10.1.0 255.255.255.0 vpn_gateway
route 172.172.1.0 255.255.255.0 vpn_gateway

Source
: https://forums.openvpn.net/viewtopic.php?t=8229#p12601
 
shape1
shape2
shape3
shape4
shape7
shape8
Top