Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Port
- port 1194
- proto tcp
- mode server
- tls-server
- dev tun
- server 10.0.0.0 255.255.255.0
- tun-mtu 1500
- mssfix
- #Paths to the certs
- ca easy-rsa/2.0/keys/ca.crt
- cert easy-rsa/2.0/keys/server.crt
- key easy-rsa/2.0/keys/server.key
- #Diffie-Hellmann Parameters
- dh easy-rsa/2.0/keys/dh1024.pem
- #Same Ip in the next session
- ifconfig-pool-persist ipp.txt
- #Tests the connection with a ping like paket. (wait=120sec)
- keepalive 10 120
- #Authenication
- auth SHA1
- #Our encryption algorithm
- #cipher aes-256-ecb
- #openvpn --show-ciphers for testing
- #comp
- comp-lzo
- #Sets new rights after the connection
- user nobody
- group nogroup
- #We need this because of user nobody/group nobody.
- persist-key
- persist-tun
- #Logging 0, (testing:5)
- verb 5
- #routen
- push "route add 10.0.0.0 mask 255.255.255.255 10.0.0.1"
- push "redirect-gateway def1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement