Comware Based
1745909 Members
4198 Online
108723 Solutions
New Discussion

Port forwarding on an MSR router to publish an internal server

 
kasper123
Occasional Advisor

Port forwarding on an MSR router to publish an internal server

Hi,

Does anyone know how to do a port forward on an MSN router?

I want to forward some port on the internet interface to the same (or another port) on a server inside the network.

internet -->MSR Public IP port XXX-->LAN Server port XXX

1 REPLY 1
kasper123
Occasional Advisor

Re: Port forwarding on an MSR router to publish an internal server

I managed to get this working myself so in case someone else needs this in the future here it is:

Let's say we have a public IP 222.222.222.222 and we have an internal web server with the address 10.0.0.10 and we want to reach port 80 on the internal server.

On the internet facing interface we need to enter this command:

interface GigabitEthernet0/0
nat server protocol tcp global 222.222.222.222 80 inside 10.0.0.10 80

The port doesn't have to be the same. You can forward port 8080 to port 80 on the inside server.