Skip to content

Instantly share code, notes, and snippets.

@xnumad
Created March 31, 2021 08:52
Show Gist options
  • Save xnumad/b534a5b8bd4247f26724c5192d583c32 to your computer and use it in GitHub Desktop.
Save xnumad/b534a5b8bd4247f26724c5192d583c32 to your computer and use it in GitHub Desktop.
Route configuration to access the same subnet as your normal one over a VPN (prefer VPN routes/subnet)
Address Netmask Gateway Comment
192.168.1.1 255.255.255.255 192.168.1.1 Adds the router/gateway only
192.168.1.0 255.255.255.0 192.168.1.1 Adds the subnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment