User Guide

122 Chapter 5. Command Line Interface Reference
SYSTEM ADDHTTPFILTER
This command is used to allow devices within the defined IP address range to use the HTTP protocol (for
example, to browse the Web). This command is useful to block devices on the WAN from accessing the Web
browser.
SYSTEM ADDSERVER
This Network Address Translation (NAT) command is used to configure a local IP address as the selected server
on the LAN (FTP, SMTP, etc.) for the global configuration.
system addHostMapping
<first private addr> <second private addr> <first public addr>
first private addr
First IP address in the range of IP addresses to be remapped, in the format of 4 decimals
separated by periods.
second private addr
Last address in the range of IP addresses to be remapped, in the format of 4 decimals
separated by periods.
first public addr
Defines the range of public IP addresses, in the format of 4 decimals separated by periods.
The rest of the range is computed automatically.
Example:
system addHostMapping 192.168.207.40 192.168.207.49 10.1.1.7
system addHTTPFilter
<first ip addr>
[
<last ip addr>
] | LAN
first ip addr
First IP address of the range.
last ip addr
Last IP address of the range. May be omitted if the range contains only one IP address.
LAN Local Ethernet LAN.
Example:
system addHTTPFilter 192.168.1.5 192.168.1.12
system addServer <
ipaddr>|
discard|me
<protocolid
> |
tcp|udp <
first port
> |ftp|telnet|smtp|snmp|http [
<last
port>
[<
first private port
>]]
ipaddr
IP address of the host selected as server in the format of 4 decimals separated by periods.
discard Used to discard the incoming server request.
me Used to send the incoming server request to the local router, regardless of its IP address.
protocolid
Protocol used by the selected server; can be
tcp
or
udp,
or a numeric value.