Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- log /dev/null
- status /dev/null
- ;local a.b.c.d
- # open up this port on your firewall.
- port 1194
- # TCP or UDP server?
- proto tcp
- ;proto udp
- ;dev tap
- dev tun
- ;dev-node MyTap
- ca ca.crt
- cert server.crt
- key server.key # This file should be kept secret
- dh dh2048.pem
- ;topology subnet
- server 10.8.0.0 255.255.255.0
- ifconfig-pool-persist ipp.txt
- ;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
- ;server-bridge
- ;push "route 192.168.10.0 255.255.255.0"
- ;push "route 192.168.20.0 255.255.255.0"
- ;client-config-dir ccd
- ;route 192.168.40.128 255.255.255.248
- ;client-config-dir ccd
- ;route 10.9.0.0 255.255.255.252
- ;learn-address ./script
- push "redirect-gateway def1 bypass-dhcp"
- push "dhcp-option DNS 8.8.8.8"
- push "dhcp-option DNS 8.8.4.4"
- ;client-to-client
- ;duplicate-cn
- keepalive 10 120
- ;tls-auth ta.key 0 # This file is secret
- ;cipher BF-CBC # Blowfish (default)
- ;cipher AES-128-CBC # AES
- ;cipher DES-EDE3-CBC # Triple-DES
- comp-lzo
- max-clients 1
- user nobody
- group nobody
- persist-key
- persist-tun
- status openvpn-status.log
- ;log openvpn.log
- ;log-append openvpn.log
- verb 3
- ;mute 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement