server.conf
port 443
proto tcp
dev tun
ca /etc/openvpn/certificate/ca.crt
cert /etc/openvpn/certificate/vpnserver.crt
key /etc/openvpn/certificate/vpnserver.key
dh /etc/openvpn/certificate/dh2048.pem
server 192.168.168.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "route 192.168.199.0 255.255.255.0"
duplicate-cn
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
verb 3
explicit-exit-notify 1
client.ovpn
client
dev tun
port 443
proto tcp
remote vpn.sabagus.com
resolv-retry infinite
nobind
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
cipher AES-256-CBC
verb 3
Comments
Post a Comment