|
Port Mapping is used when a computer with a private address needs to be accessed remotely.
Access to the computer is allowed only on the ports that are specifically configured.
Adding and Deleting Port Mapping
The IP Address of the computer that is being mapped to must be a static private address.
Cisco 675/678 - (CBOS 2.2.0 +)
|
| Add one port |
set nat entry add IPAddress port# protocol |
| Delete one port |
set nat entry del IPAddress port# protocol |
| Forward all ports |
set nat entry add IPAddress |
| Delete all forwarding |
set nat entry del all |
| IPAddress: |
address of the computer you are mapping the service to |
| port#: |
port you are mapping |
| protocol: |
protocol you are mapping |
|
Pre - CBOS 2.2.0 can only forward single ports:
Add: set nat entry add InternalIPAddress port# WANIPAddress port# tcp
Delete: set nat entry del InternalIPAddress port# WANIPAddress port# tcp
|
Here are some common port numbers:
| Service |
Protocol |
Port |
| POP |
TCP |
110 |
| SMTP |
TCP |
25 |
| FTP |
TCP
TCP |
20
21 |
| Telnet |
TCP |
23 |
| HTTP |
TCP |
80 |
| Microsoft RDP |
TCP |
3389 |
| pcAnywhere |
TCP
TCP
UDP
UDP |
65301
5631
22
5632 |
|