Log Resource-Access Enable - H3C MSR Series Command Reference Manual

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

Advertisement

local-port 80 local-name 127.0.0.1 remote-server 192.168.0.213 remote-port 80
The port forwarding instance will be displayed together with the port forwarding item name on
the SSL VPN Web page. In this example, tcp1 (127.0.0.1:80 -> 192.168.0.213) will be
displayed.
If you map a TCP service to a local host name, the TCP access client software will add the IP
address corresponding to the host name to the host file hosts. When the client logs out, the software
restores
the
C:\Windows\System32\drivers\etc of the client host.
You can configure only one port forwarding instance for a port forwarding item. If you execute this
command for a port forwarding item multiple times, the most recent configuration takes effect.
Examples
# Configure a port forwarding instance for port forwarding item pfitem1. The port forwarding instance
maps IP address 192.168.0.213 and port 80 of the internal HTTP server to local address 127.0.0.1
and port 80.
<Sysname> system-view
[Sysname] sslvpn context ctx1
[Sysname-sslvpn-context-ctx1] port-forward-item pfitem1
[Sysname-sslvpn-context-ctx1-port-forward-item-pfitem1] local-port 80 local-name
127.0.0.1 remote-server 192.168.0.213 remote-port 80 description http
Related commands
port-forward

log resource-access enable

Use log resource-access enable to enable resource access logging.
Use undo log resource-access enable to disable resource access logging.
Syntax
log resource-access enable [ filtering ]
undo log resource-access enable
Default
Resource access logging is disabled.
Views
SSL VPN context view
Predefined user roles
network-admin
Parameters
filtering: Enables resource access log filtering. With this keyword specified, the device generates
only one log for accesses of the same user to the same resource in a minute. If this keyword is not
specified, the device generates a log for each resource access.
Usage guidelines
This feature logs resource accesses of SSL VPN users. The logs are sent to the information center of
the device. For the logs to be output correctly, you must also configure the information center on the
device. For more information about the information center, see Network Management and
Monitoring Configuration Guide.
If you execute this command multiple times, the most recent configuration takes effect.
original
host
file.
The
host
file
hosts
775
is
in
the
directory

Advertisement

Table of Contents
loading

Table of Contents