cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
603
Views
0
Helpful
5
Replies

Port Forwarding

waqas.arshad
Level 1
Level 1

I need to create a port forward for this 1025 port that i have just opened up.

 

Use this available public IP address 216.67.XXX.XX and point it to the 192.168.40.15 address.

 

What will be the commands for this?

 

Thank you

5 Replies 5

Hello,

 

port forwarding as in NAT ?

 

ip nat inside source static tcp 192.168.40.15 1025 216.67.XXX.XX 1025

ip nat outside source static tcp 192.168.40.15 1025 216.67.XXX.XX 1025

Yes In NAT for both TCP and UDP.

Hello,

 

the above applies. For UDP, just replace tcp with udp:

 

ip nat inside source static tcp 192.168.40.15 1025 216.67.XXX.XX 1025

ip nat outside source static tcp 192.168.40.15 1025 216.67.XXX.XX 1025

 

ip nat inside source static udp 192.168.40.15 1025 216.67.XXX.XX 1025

ip nat outside source static udp 192.168.40.15 1025 216.67.XXX.XX 1025

Any other commands need to give?

Hello,

 

for NAT, you need to add several commands to your configuration. Post your full config....

Review Cisco Networking for a $25 gift card