Skip to main content
Version: 7.24

ovpn-client


interface/ovpn-client​

Type: Directory

FlagNameDescription
Xdisableddisabled
Rrunningrunning
Hhw-cryptohw-crypto
Tatls-authtls-auth
Tctls-crypttls-crypt
ArgumentTypeDescription
namestring
mac-addressmacAddr
max-mtunum
connect-to ( mandatory )address (flags=D46v)
portnum
modeenum (ip | ethernet) { ip:0, ethernet:1 }
protocolenum (tcp | udp)
user ( mandatory )string
passwordstring
profileenum
certificateenum (none) { none:0 }
verify-server-certificatebool
tls-versionenum (any | only-1.2) { any:0, only-1.2:2 }
authenum (sha1 | md5 | sha256 | sha384 | sha512 | null) { sha1:1, md5:2, sha256:8, sha384:32, sha512:16, null:4 }
cipherenum (blowfish128 | aes128-cbc | aes192-cbc | aes256-cbc | aes128-gcm | aes192-gcm | aes256-gcm | null) { blowfish128:1, aes128-cbc:2, aes192-cbc:4, aes256-cbc:8, aes128-gcm:16, aes192-gcm:32, aes256-gcm:64, null:128 }
use-peer-dnsenum (no | yes | exclusively) { no:0, yes:1, exclusively:2 }
add-default-routebool
route-nopullboolIf enabled client will not use any routes pushed by server (including def1)
disconnect-notifyboolSend explicit disconnect notification when using UDP mode