Nyr / openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
MIT License
18.95k stars 4.87k forks source link

FEATURE REQUEST: Split Tunneling #1115

Closed a-warner-knight closed 1 month ago

a-warner-knight commented 1 month ago

Can we add an option for split tunneling? I implemented by modifying client-common.txt to include:

route-nopull route 10.8.0.0 255.255.255.0 route 192.168.0.0 255.255.0.0

but obviously the 192.16.8.x.x private subnet would have to be prompted for (or detected?). Or should this be implemented by server.conf?

I love this script. Happy to attempt a PR if anybody +1s this.

Nyr commented 1 month ago

Not interested in this. sorry.