Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configuration file for server:
- proto tcp4-server
- dev tun
- tls-server
- tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ta.key" 0
- tun-mtu 1500
- tun-mtu-extra 32
- mssfix 1450
- ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
- cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt"
- key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key"
- dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh4096.pem"
- server 10.10.10.0 255.255.255.0
- client-to-client
- keepalive 10 120
- cipher AES-128-CBC
- comp-lzo
- persist-key
- persist-tun
- client-config-dir "C:\\Program Files\\OpenVPN\\config"
- verb 3
- route-delay 5
- route-method exe
- push "route 192.168.0.0 255.255.255.0"
- route 192.168.182.0 255.255.255.0
- Additional configuration file for server:
- ifconfig-push 10.10.10.5 10.10.10.6
- iroute 192.168.182.0 255.255.255.0
- # disable
- Configuration file for client:
- remote 176.122.115.66
- client
- port 12345
- proto tcp4-client
- dev tun
- tls-client
- tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1
- remote-cert-tls server
- tun-mtu 1500
- tun-mtu-extra 32
- mssfix 1450
- ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
- cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt"
- key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key"
- cipher AES-128-CBC
- comp-lzo
- persist-key
- persist-tun
- verb 3
- mute 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement