Skip to content

Instantly share code, notes, and snippets.

@saivert
Created December 7, 2016 22:46
Show Gist options
  • Save saivert/882c8264da8a1c13ea5c285429636290 to your computer and use it in GitHub Desktop.
Save saivert/882c8264da8a1c13ea5c285429636290 to your computer and use it in GitHub Desktop.
Connect to OpenVPN server from inside LAN
client
dev tun
proto udp
.
.
.
# !! Need to use LAN address when connecting from inside the LAN using UDP
remote 192.168.1.1 1194
# !! Also need to fix route
route 192.168.1.1 255.255.255.255 192.168.1.1 1
.
.
.
# rest of config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment