Last active
June 30, 2016 20:56
-
-
Save mivok/e0d7a29957ab702ff3a1d7b624f23b00 to your computer and use it in GitHub Desktop.
Openvpn config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On the client only | |
remote other-side.example.com | |
# Increase this if you have multiple vpn servers on the same instance | |
port 1194 | |
# Use tun1, tun2 and so on if you have multiple vpn servers on the same instance | |
dev tun1 | |
# Note: these IP addresses are private to the VPN server and don't need to be recorded anywhere. | |
# They can be reused across different vpn servers as long as they aren't on the same machine. | |
# Use 10.8.1.X, 10.8.2.X and so on if you have multiple vpn servers on the same instance | |
# Server-side only | |
#ifconfig 10.8.1.1 10.8.1.2 | |
# Client-side | |
ifconfig 10.8.1.2 10.8.1.1 | |
secret static.key | |
comp-lzo | |
keepalive 10 60 | |
ping-timer-rem | |
persist-tun | |
persist-key | |
user nobody | |
group nogroup | |
daemon | |
# Networks to route over the vpn | |
# Client side | |
route 10.0.0.0 255.0.0.0 | |
route 172.16.0.0 255.240.0.0 | |
route 192.168.0.0 255.255.0.0 | |
# Server side | |
# route 172.16.10.0 255.255.255.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment