Port mapping is required to allow traffic through the router when
it is in a NAT configuration. This allows servers such as, web, email,
ftp, etc to run behind the router while leaving the rest of the network
private behind NAT.
Open a telnet client (Hyperterminal, Secure CRT, etc.) and telnet to
192.168.254.254. This will display Login: with a cursor
next to it. The login is the password of the router. The default password
is admin. Type this in and hit Enter. If the correct password
was entered it will display Logged in successfully! with a pound (#)
sign underneath it. Enter in all commands, as displayed below, after the pound
sign. Remember to hit Enter after every line.
The command structure is easy to understand. First you need to know
what port you wish to forward (i.e. 80-http, 25-smtp, 110-pop3, etc.).
Let's say we want to forward POP3 services to our mail server on 192.168.254.10.
To start we type:
sys add server 192.168.254.10
Next to this we need to know what protocol to use, UDP
or TCP. POP3 is TCP so we type that:
sys add server 192.168.254.10 tcp
Now we add the port range. POP3 is only used on port 110, so that
will finish our port map:
sys add server 192.168.254.10 tcp 110
To forward port 80 to the internal address 192.168.254.2 enter:
sys addserver 192.168.254.2 tcp 80 rem add internet
To forward port 21 to the internal address 192.168.254.25 enter:
sys addserver 192.168.254.25 tcp 21
Once you have added all your port mappings, type:
save
reboot