Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dev tap
- proto udp
- port 8876
- ca /etc/openvpn/easy-rsa/keys/ca.crt
- cert /etc/openvpn/easy-rsa/keys/server.crt
- key /etc/openvpn/easy-rsa/keys/server.key
- dh /etc/openvpn/easy-rsa/keys/dh1024.pem
- tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0 # ajout pour multiple client
- # crl-verify /etc/openvpn/crl.pem # ajout pour révocation
- cipher AES-256-CBC # ajout pour un meilleur cryptage
- user nobody
- group nogroup
- server 10.8.0.0 255.255.255.0
- persist-key
- persist-tun
- status /var/log/openvpn-status.log
- verb 3
- client-to-client
- push "redirect-gateway def1"
- #set the dns servers
- push "dhcp-option DNS 8.8.8.8"
- push "dhcp-option DNS 8.8.4.4"
- log-append /var/log/openvpn
- comp-lzo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement