Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Inclusive vs Exclusive Split Tunneling #230

Open
j0sh3rs opened this issue Sep 14, 2020 · 4 comments
Open

[Enhancement] Inclusive vs Exclusive Split Tunneling #230

j0sh3rs opened this issue Sep 14, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@j0sh3rs
Copy link

j0sh3rs commented Sep 14, 2020

Is your feature request related to a problem? Please describe.
As a user, I do not necessarily want to send all of my traffic down an OpenVPN tunnel. I want to optionally send specific cidrs down the tunnel, and route the rest out through my primary gateway.

Today, this is not possible with the linux-cli, as the list is exclusionary only.

Both models have their benefits, but for minimizing complexity, supporting a model whereby I can specificy what i want to tunnel would be desirable.

Describe the solution you'd like
Additional parameter in pvpn-cli.cfg to augment split_tunell

split_tunnel_exclusive (bool) (determine if the list read from split_tunnel.txt should be considered authoritative on the cidrs to tunnel, or to exclude from the tunnel)

Describe alternatives you've considered
Using other VPN clients adhering to the openvpn standard that can accomplish this (pfSense currently supports this model with their provider)

Additional context
Currently, I split tunnel at my edge and am considering moving to a model where it happens on a host and the edge is ignored. This isn't possible without loads of extra work on the split_tunnel functionality inside the linux-cli today.

I only want to send a handful of cidrs down the vpn, and route the rest out my default gateway.

@j0sh3rs j0sh3rs added the enhancement New feature or request label Sep 14, 2020
@MaxRazen
Copy link

MaxRazen commented Mar 7, 2021

+1
This feature would be awesome. I guess it would be helpful also for other platforms

@developomp
Copy link

I usually don't like commenting without adding anything to the discussion, but this is such a useful feature I want this suggestion to get more of the developer's attention.

@5p4r74cu5
Copy link

+1

Agreed, I'm mainly looking to only use my VPN for a ~5 IP addresses and allow everything else, so would appreciate this feature.

@kohane27
Copy link

I've found a fork that implements reverse split tunnel: https://github.com/jonasjancarik/protonvpn-cli-community
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants