Jump to content

Pinned How to Split Tunnel Traffic with OpenVPN


Recommended Posts

  • Superior Administrator
Posted

Split Tunnel and Split Traffic

 

[HEADING=2]Environment:[/HEADING]

  • OpenVPN 2.4.9
  • Ubuntu 18.04

 

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

 

Answer is “Client Configuration / Client Profile”.

 

[HEADING=2]How to configure Client Profile(.ovpn)?[/HEADING]

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,

 

[iCODE]route 192.168.1.0 255.255.255.0 net_gateway[/iCODE]

 

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,

 

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:

This is the hidden content, please

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
×
GloTorrents Community Forum
Home
Activities
Sign In
Search
More
×