Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces openvpn <vtunx> shared-secret-key-file <filename>

Specifies the file containing a secret key shared with the remote end of the tunnel.

set interfaces openvpn vtunx shared-secret-key-file filename
delete interfaces openvpn vtunx shared-secret-key-file
show interfaces openvpn vtunx shared-secret-key-file
vtunx
The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
filename
The shared secret file. The file can be generated using the generate openvpn key operational command, and the other endpoint must have the same file for the preshared secret mechanism to work.

Configuration mode

interfaces {
    openvpn vtunx {
        shared-secret-key-file filename 
    }
}

Use this command to specify the file containing a secret key shared with the remote end of the tunnel.

Certificate and key files are assumed to be in /config/auth unless an absolute path is specified.

Use the set form of this command to specify the file containing a secret key shared with the remote end of the tunnel.

Use the delete form of this command to remove the shared secret key file configuration.

Use the show form of this command to view the shared secret key file configuration.