Openvpn: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Riga 337: Riga 337:


==== Esempio 2 ====
==== Esempio 2 ====
<pre>
proto udp
tun-mtu 1500
fragment 1300
mssfix
cipher AES-256-CBC
ignore-unknown-option ncp-disable # ovpn 2.3 to 2.4 transition
ncp-disable
remote indirizzo_server_vpn1 numero_porta1
remote indirizzo_server_vpn2 numero_porta2
remote indirizzo_server_vpn3 numero_porta3
auth SHA512
auth-user-pass nome_file_credenziali_accesso
client
comp-lzo
dev tun
hand-window 120
inactive 604800
mute-replay-warnings
nobind
remote-cert-tls server
persist-key
persist-remote-ip
persist-tun
ping 5
ping-restart 120
redirect-gateway def1
remote-random
reneg-sec 3600
resolv-retry 60
route-delay 2
route-method exe
script-security 2
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-256-CBC-SHA256:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-RSA-WITH-AES-256-CBC-SHA
tls-timeout 5
verb 4
tun-ipv6
down /etc/openvpn/update-resolv-conf
up /etc/openvpn/update-resolv-conf
key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
Stringa caratteri certificato
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
Stringa caratteri certificato
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
Stringa chiave privata
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
Stringa caratteri chiave
-----END OpenVPN Static key V1-----
</tls-auth>
</pre>


== Riferimenti ==
== Riferimenti ==
3 155

contributi

Menu di navigazione