cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2586
Views
10
Helpful
5
Replies

Port Forward for Camera Server

I have seen several posts on port forwarding but each left out something that I am not sure about. I have a camera server on a LAN static IP (192.168.40.5) and have a static WAN IP issued by my ISP (70.111.111.111). I am switching out a lesser router with a Cisco and the only thing left is the port forwarding so we can reach the cameras from the outside. I have gig0/0 setup as the LAN and 0/1 as the WAN. Not sure if I need to set the port forwarding on the WAN or LAN interface, I am assuming WAN. Can someone tell me the command to forward something like this? (this is the port forwarding form my "old" router):  Desc: Cam_01, Port From: 4444, Protocol: Both, IP: 192.168.40.5, Port To: 4444. So, basically, I need to forward port 4444 to 192.168.40.5.  I am not a Cisco expert but have messed with them enough to program basic stuff and can make them work as I need them, just don't know the more advanced stuff, or more accurately, don't trust myself enough! Thanks for any help.

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

On your router you need a pat statement:

If the camera uses a TCP port

ip nat inside source static tcp 192.168.40.5 4444 70.111.111.111 4444

If the camera uses a UDP port

ip nat inside source static udp 192.168.40.5 4444 70.111.111.111 4444

HTH

View solution in original post

Jose Solano
Level 4
Level 4

Hi,

I think this can do trick:

ip nat inside source static tcp 192.168.40.5 4444 70.111.111.111 4444 extendable


With this statement, users that try to reach 70.111.111.111 port 4444 from the outside are automatically redirected to 192.168.40.5 port 4444 which in your case would be the camera server.

Hope this helps !

Jose

View solution in original post

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

On your router you need a pat statement:

If the camera uses a TCP port

ip nat inside source static tcp 192.168.40.5 4444 70.111.111.111 4444

If the camera uses a UDP port

ip nat inside source static udp 192.168.40.5 4444 70.111.111.111 4444

HTH

Jose Solano
Level 4
Level 4

Hi,

I think this can do trick:

ip nat inside source static tcp 192.168.40.5 4444 70.111.111.111 4444 extendable


With this statement, users that try to reach 70.111.111.111 port 4444 from the outside are automatically redirected to 192.168.40.5 port 4444 which in your case would be the camera server.

Hope this helps !

Jose

Do I need to do it on an interface config or just in the terminal config? Since you have "...nat inside...", if on an interface, I would assume the LAN interface?

Thanks!

Hi,

This will be on global mode not under the interface, but you need to have ip nat inside on the LAN and ip nat outside on the WAN interface.

Regards,

OK, I do have the "...nat inside....nat outside..." part done already.  You have answered my question! Thank you very much!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: