|LANCOM Systems Support KnowledgeBase - Support Information|
Document No: 0906.0809.0653.TPOR
This document describes the settings required to be able to operate a Web server and an FTP server behind a LANCOM router.
Most Internet access options from Internet providers include just one IP address that can be reached direct from the Internet. LANCOM devices use a mechanism known as NAT/PAT (network address translation / port address translation) to connect an entire network to the Internet via a single public IP address. In this process, the router translates the private IP addresses of the computers in the LAN to the LANCOM's public IP address. In this case, only the public IP address can be accessed from the Internet, which in this case is directed exclusively to the LANCOM itself. This serves to shield the private network from the Internet.
If selective access is to be allowed to a server in the LAN, the connection to the server's private IP address must be configured in the LANCOMS router's configuration. For this it is important to know the address of the server port which the service is running on; for example, a Web server runs on port 80 by default. You can find a complete overview of registered ports (so-called well-known ports) on the IANA (Internet Assigned Numbers Authority) Web site, which is responsible for allocating protocol and port numbers in the Internet. You can access the complete overview of port numbers under this link:
1. In LANconfig, open the configuration dialog for the LANCOM router and go to the menu Configuration -> IP router -> Masquerading.
2. Click on the Port forwarding table button.
3. Click on Add to create a new entry for port forwarding.
4. Into the two fields first port and last port, enter port 80.
5. As remote site, select the remote site for the Internet connection. If no remote site is specified, port forwarding will apply globally for all Internet connections.
6. In the Intranet address field enter the local address of the designated web server.
7. Under Protocol you can choose whether forwarding is to apply to TCP or to UDP connections, or both.
8. Store your entries with OK.
9. Now you set up the port forwarding for the FTP server. Configure this entry as illustrated in the figure below.