interfaces openvpn <vtunx> remote-host <hostname>
Specifies a remote IP address or hostname to which connections are made.
- vtunx
- The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
- hostname
- A remote IP address or hostname to which connections are made.
Configuration mode
interfaces {
openvpn vtunx {
remote-host hostname
}
}
Use this command to specify a remote IP address or hostname to which connections are made. This address or hostname is required by a client to specify a server endpoint in a remote access mode tunnel. It is also required by both sides in site-to-site mode.
Use the set form of this command to specify a remote IP address or hostname to which connections are made.
Use the delete form of this command to remove a remote IP address or hostname to which connections are made.
Use the show form of this command to view a remote IP address or hostname to which connections are made.