45 lines
873 B
Text
45 lines
873 B
Text
client
|
|
|
|
dev mullvad
|
|
dev-type tun
|
|
|
|
proto udp
|
|
|
|
remote nl.mullvad.net # Servers in the Netherlands
|
|
|
|
# Keep trying indefinitely to resolve the
|
|
# host name of the OpenVPN server. Very useful
|
|
# on machines which are not permanently connected
|
|
# to the internet such as laptops.
|
|
resolv-retry infinite
|
|
|
|
# Most clients don't need to bind to
|
|
# a specific local port number.
|
|
nobind
|
|
|
|
# Try to preserve some state across restarts.
|
|
persist-key
|
|
persist-tun
|
|
|
|
# Enable compression on the VPN link.
|
|
comp-lzo
|
|
|
|
# Set log file verbosity.
|
|
verb 3
|
|
|
|
remote-cert-tls server
|
|
|
|
ping-restart 60
|
|
|
|
# Allow calling of built-in executables and user-defined scripts.
|
|
script-security 2
|
|
|
|
# Parses DHCP options from openvpn to update resolv.conf
|
|
route-noexec
|
|
up /etc/openvpn/mullvad/mullvad-up
|
|
|
|
ping 10
|
|
|
|
ca /etc/openvpn/mullvad/ca.crt
|
|
cert /etc/openvpn/mullvad/client.crt
|
|
key /etc/openvpn/mullvad/client.key
|