Local-Port - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Examples
# Configure the IPv6 address of SSL VPN gateway gw1 as 200::1 and the port number as 8000.
<Sysname> system-view
[Sysname] sslvpn gateway gw1
[Sysname-sslvpn-gateway-gw1] ipv6 address 200::1 port 8000
Related commands
display sslvpn gateway

local-port

Use local-port to configure a port forwarding instance for a port forwarding item.
Use undo local-port to remove the configuration.
Syntax
local-port local-port-number local-name local-name remote-server remote-server remote-port
remote-port-number [ description text ]
undo local-port
Default
A port forwarding item does not contain a port forwarding instance.
Views
Port forwarding item view
Predefined user roles
network-admin
Parameters
local-port-number: Specifies a local port number in the range of 1 to 65535. The specified port
number must be different from the port numbers of any existing services on the SSL VPN client.
local-name local-name: Specifies a local address or a local host name, a case-insensitive string of 1
to 253 characters. Valid characters are letters, digits, underscores (_), hyphens (-), and dots (.).
To specify an IPv4 address, use an address in the network segment 127.0.0.0/8.
To specify an IPv6 address, enclose the IPv6 address in brackets. For example, local-name
[1234::5678].
remote-server remote-server: Specifies the IP address or domain name of a TCP service on an
internal server. The remote-server argument is a case-insensitive string of 1 to 253 characters. Valid
characters are letters, digits, underscores (_), hyphens (-), and dots (.). To specify an IPv6 address,
enclose the IPv6 address in brackets. For example, remote-server [1234::5678].
remote-port remote-port-number: Specifies the port number of the TCP service on the internal
server, in the range of 1 to 65535.
description text: Specifies a description, a case-sensitive string of 1 to 63 characters.
Usage guidelines
A port forwarding instance maps a TCP service on an internal server to a local address and port
number on an SSL VPN client.
For example, for an SSL VPN client to use local address 127.0.0.1 and port 80 to access the internal
HTTP server 192.168.0.213, perform the following tasks:
1.
Create a port forwarding item (tcp1 in this example).
2.
Configure a port forwarding instance for the port forwarding item.
774

Advertisement

Table of Contents
loading

Table of Contents