User guide
154 Chapter 5. Command Line Interface Reference
SYSTEM ADDHOSTMAPPING
This command is used to remap a range of local-LAN IP addresses to a range of public IP addresses on a system-
wide basis. These local addresses are mapped one-to-one to the public addresses.
Note: The range of public IP addresses is defined by <first public addr> only. The rest of the range is computed
automatically (from <first public addr> to <first public addr> + number of addresses remapped - 1) inclusive.
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 ADDIPROUTINGTABLE
Defines a new virtual routing table. Once defined, you can add routes to the table using the commands eth ip
bindRoute (page 169) and remote bindIPVirtualRoute (page 186).
The command specifies the name of the new routing table and the range of IP addresses that reference the table
for their routing. When the router receives a packet, the source address of the packet determines which routing
table is used. For example, if the range of addresses for the virtual routing table ROSA includes address
192.168.25.25, then every packet with the source address 192.168.25.25 is routed using virtual routing table
ROSA.
system addHostMapping <first private addr> <second private addr> <first public addr>
Þrst 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.
Þrst public addr DeÞnes 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
Þrst 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