Port forwarding (inverse masquerading)

With simple masquerading, all of the IP addresses on the local network are masked behind the router’s IP address. If now a certain computer on the LAN, such as an FTP server, needs to be accessible from the Internet, simple masquerading means that the IP address of the FTP server remains hidden from the Internet. This makes it impossible to connect to this FTP server from the Internet.

To enable access to this type of server ("exposed host "), the IP address of the FTP server is entered in a table (the port-forwarding table) along with the services (ports) that it should also present outside the LAN. For a computer sending a packet from the Internet to the FTP server on the LAN, the router itself appears to be the FTP server. Using the protocol used, the router reads the IP address of the FTP server in the LAN from the entry in the port forwarding table and forwards the packet to the local IP address entered there. Packets sent by the FTP server in the LAN (responses from the server) are masked behind the IP address of the router.





The general difference between simple and inverse masquerading:

Note: The table concerned can hold up to 2048 entries, thus enabling 2048 simultaneous transmissions between the masked and the unmasked network.

After an adjustable time period, however, the router assumes that the entry is no longer necessary and deletes it from the table automatically.

Note: Stateful inspection and inverse masquerading: If a port is exposed in the masquerading module (i.e. all packets received on this port are forwarded to a computer in the local network), a deny-all firewall strategy requires an additional entry in the stateful-inspection firewall to allow computers to access that server.

On occasion it is desirable for the "exposed host" not to be contacted over this standard port, e.g. when security reasons demand the use of another port. In this case it is not only necessary to map the ports to an IP address, but to translate between ports as well (port mapping). Another use of port mapping would be to translate multiple WAN ports to one common port in the LAN, although to different IP addresses (N-IP mapping).

The configuration of port mapping involves the assignment of a port or port range (start port to end port) to an IP address from the LAN as the target and the port (map port) to be used in the LAN.





LANconfig: IP router > Masquerading > Port forwarding table

Console: Setup > IP-Router > 1-N-NAT > Service-Table

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo