interfaces openvpn <vtunx> local-port <port>
Specifies a local UDP or TCP port on which incoming sessions are accepted.
The default port number is 1194.
- vtunx
- The identifier for the OpenVPN interface. This may be vtun0 to vtunx, where x is a non-negative integer.
- port
- The number of a port on which incoming sessions are accepted. The default port number is 1194.
Configuration mode
interfaces {
openvpn vtunx {
local-port port
}
}
Use this command to specify a local UDP or TCP port on which incoming sessions are accepted. This port can be used as a server endpoint in a remote access mode tunnel or the TCP-passive endpoint when TCP is used in site-to-site mode.
Use the set form of this command to specify a local port on which incoming sessions are accepted.
Use the delete form of this command to remove the local port on which incoming sessions are accepted.
Use the show form of this command to view the local port on which incoming sessions are accepted.