OpenVPN
Profile (profile.ovpn
)
dev tun
proto tcp-client
remote openvpn.example.com 1194 # Remote OpenVPN Servername or IP address
ca keys/ca.crt
cert keys/cert.crt
key keys/key.key
tls-client
port 1194
user nobody
group nobody
auth-nocache # Do not save the passwords in cache.
#comp-lzo # Do not use compression. It doesn't work with RouterOS (at least up to RouterOS 3.0rc9)
# More reliable detection when a system loses its connection.
ping 15
ping-restart 45
ping-timer-rem
persist-tun
persist-key
# Silence the output of replay warnings, which are a common false
# alarm on WiFi networks. This option preserves the security of
# the replay protection code without the verbosity associated with
# warnings about duplicate packets.
mute-replay-warnings
# Verbosity level.
# 0 = quiet, 1 = mostly quiet, 3 = medium output, 9 = verbose
verb 3
cipher AES-256-CBC
auth SHA1
pull
auth-user-pass auth.cfg
Authfile (auth.cfg
)
username
password
Connect
sudo openvpn profile.ovpn