Last active
July 16, 2023 17:50
-
-
Save arkenous/1570bbc417aafb8b19a9 to your computer and use it in GitHub Desktop.
OpenVPN server configuration file
This file contains 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
port 1194 | |
proto tcp | |
dev tun | |
ca ca.crt | |
cert openvpnsv.crt | |
key openvpnsv.key | |
dh dh2048.pem | |
server 10.8.0.0 255.255.255.0 | |
ifconfig-pool-persist ipp.txt | |
push "redirect-gateway def1" | |
push "dhcp-option DNS 8.8.8.8" | |
client-to-client | |
keepalive 10 120 | |
tls-auth ta.key 0 # This file is secret | |
comp-lzo | |
user nobody | |
group nobody | |
persist-key | |
persist-tun | |
push "dhcp-option PROXY_HTTP your.proxy.server port" | |
push "dhcp-option PROXY_HTTPS your.proxy.server port" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment