Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Step-by-Step Configuration and Troubleshooting Best Practices for the NGFW, NGIPS and AMP Technologies A Visual Guide to the Cisco Firepower Threat Defense (FTD)
Community Member

Port forwarding from inside to outside

Greetings,

I have a device(s) on the outside of my network that I have to access from a specific ip:port on my network.

inside ip: 192.168.1.1

firewall ip inside 192.168.1.254

firewall outside: 172.25.25.25

i have to access device from 172.25.25.27:9000

device ip is public address

I am probably trying to make this to hard and confusing myself. Any help would be appreciated.

Running Pix535 v7.2(2)

2 REPLIES
Gold

Re: Port forwarding from inside to outside

static (inside,outside) 172.25.25.27 192.168.1.1

or

static (inside,outside) tcp 172.25.25.27 9000 192.168.1.1 9000

this assumes you're using TCP, not udp. change appropriately if you need to.

the first statement will translate port for port. ie, inside port 9000 is 'translated' to outside port 9000.

Community Member

Re: Port forwarding from inside to outside

that is what i was thinking but my problem is that the app used to access this does not use a static port. could i use a route-map on a inside router before the firewall to fix this?

387
Views
0
Helpful
2
Replies
CreatePlease to create content