cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
551
Views
0
Helpful
2
Replies

Port forwarding from inside to outside

jkassel
Level 1
Level 1

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 2

srue
Level 7
Level 7

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.

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?

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:

Review Cisco Networking products for a $25 gift card