Docker Community Forums

Share and learn in the Docker community.

OpenVPN Split Tunneling for GitLab Only

Hi all,

Im trying to setup a split tunnel VPN where when connected to, the user is able to access the gitlab, however I want the rest of the traffic to be pushed through their local network or ISP. I tried taking out redirect gateway def1 out and using push option to reroute the traffic when the IP is used; However it didn’t work, all the traffic now doesn’t pass through the vpn but the required traffic isn’t being routed through the VPN either. What other configurations do I need to make this happen?

The OpenVPN solution I’m using can be found here: https://hub.docker.com/u/kylemanna

Thanks in advance :slight_smile: