Specifications

92 Chapter 4. Configuring Special Features
To enable NAT for an Ethernet interface, use the commands:
eth ip translate on <interface>
save
The save command makes the above changes persistent across reboots; these changes turn NAT on when the
specified interface is used.
¥ Obtain an IP Address for NAT
The IP address (the IP address ÒknownÓ by the remote ISP) used for this type of NAT can be assigned in two
ways.
The ISP dynamically assigns the IP address. Use the commands:
remote setSrcIpAddr 0.0.0.0 0.0.0.0 <remoteName>
save
The IP address is assigned locally. Use the commands:
remote setSrcIpAddr ww.xx.yy.zz 255.255.255.255 <remoteName>
save
Note: ww.xx.yy.zz is the IP address that the user on the local LAN assigns.
Server Configuration
This section is intended for users and network administrators who wish to allow WAN access to a Web server,
FTP server, SMTP server, etc., on their local LAN, while using NAT.
NAT needs a way to identify which local PC [local IP address(es)] should receive these server requests.
The servers can be configured on a per-remote-router and per-Ethernet-interface basis as well as globally.
¥ Interface-Specific Commands
You can specify servers for specific remote interfaces and for specific Ethernet interfaces. Servers can also be
designated for specific protocols and ports. To enable and disable a local IP address (on your LAN) as the
server for a specific remote interface, use these commands:
remote addServer <action> <protocol> <port> [<last port>[<first private port>]] <remoteName>
remote delServer <action> <protocol> <port> [<last port>[<first private port>]] <remoteName>
See the command descriptions on page 259 and page 265. To see all of the remote entries, use the command
remote list <remoteName>
To enable and disable a local IP address (on your LAN) as the server for a specific Ethernet interface, use
these commands:
eth ip addServer <action> <protocol> <port> [<last port>[<first private port>]] <interface>
eth ip delServer <action> <protocol> <port> [<last port>[<first private port>]] <interface>
See the command descriptions on page 232 and page 235.