home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

security vpn ipsec site-to-site peer <peer> authentication pre-shared-secret <secret>

Specifies the pre-shared secret used to authenticate the VPN peer.

set security vpn ipsec site-to-site peer peer authentication pre-shared-secret secret
delete security vpn ipsec site-to-site peer peer authentication pre-shared-secret
show security vpn ipsec site-to-site peer peer authentication pre-shared-secret
peer
Mandatory. The address of the far-end VPN gateway. The format is an IPv4 address, an IPv6 address, a hostname (IPv4 networks only), an authentication ID, or 0.0.0.0.
secret
Specifies the pre-shared secret to be used to authenticate the VPN peer.

Configuration mode

security {
        vpn {
            ipsec {
                site-to-site {
                    peer peer {
                        authentication {
                            pre-shared-secret secret
                    }
                }
            }
        }
    }
}

Use this command to specify the pre-shared secret used to authenticate the VPN peer. The pre-shared-secret set here is only valid if the authentication mode is set to pre-shared-secret.

Use the set form of this command to specify the pre-shared secret used to authenticate the VPN peer.

Use the delete form of this command to remove the pre-shared secret configuration.

Use the show form of this command to view the pre-shared secret configuration.