Skip to content

Instantly share code, notes, and snippets.

@nate-moo
Created June 3, 2024 05:26
Show Gist options
  • Save nate-moo/fbd28a6b1703cfd3b317f420d6e151ac to your computer and use it in GitHub Desktop.
Save nate-moo/fbd28a6b1703cfd3b317f420d6e151ac to your computer and use it in GitHub Desktop.
how to prevent route takeover with globalprotect-openconnect

just run these commands to change routes and make sure to adapt the tunnel name (tun0 for me) to your specific one

sudo ip r del default dev tun0 scope link
sudo ip r add 138.67.0.0/16 dev tun0 scope link

profit $$$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment