Add sample OpenVPN server config
This commit is contained in:
parent
8aeedd6f3c
commit
cb20a164d3
1 changed files with 24 additions and 0 deletions
24
misc/server.conf
Normal file
24
misc/server.conf
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
local $PUBLICIP
|
||||||
|
port 443
|
||||||
|
proto tcp
|
||||||
|
dev tap$ID
|
||||||
|
ca ca.crt
|
||||||
|
cert server.crt
|
||||||
|
key server.key
|
||||||
|
dh dh2048.pem
|
||||||
|
server-bridge
|
||||||
|
client-config-dir ccd
|
||||||
|
push "redirect-gateway def1"
|
||||||
|
client-to-client
|
||||||
|
keepalive 10 120
|
||||||
|
tls-auth ta.key 0
|
||||||
|
cipher AES-256-CBC
|
||||||
|
compress lz4-v2
|
||||||
|
push "compress lz4-v2"
|
||||||
|
user nobody
|
||||||
|
group nogroup
|
||||||
|
persist-key
|
||||||
|
persist-tun
|
||||||
|
status /var/log/openvpn/openvpn$ID-status.log
|
||||||
|
verb 9
|
||||||
|
|
Loading…
Reference in a new issue