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

PAT'ing inbound ports

haver
Level 1
Level 1

Is it possible to translate destination ports traversing the PIX? I have a situation where I need to translate destination port 80/tcp to 30080/tcp on outside interface going to a DMZ (public IP range).

Furthermore, this should only be done for specific source IPs.

client = 192.168.0.5

pix outside = 192.168.1.1

pix dmz = 192.168.2.1

server = 192.168.2.2

192.168.0.5:1234 -> 192.168.2.2:80 should be translated by PIX to 192.168.2.2:30080, without modifing anything else but port number.

Can this be done?

TIA

2 Replies 2

l.mourits
Level 5
Level 5

Hi,

It is possible to translate port numbers for one destination system via the following command:

static (dmz,outside)tcp 192.168.2.2 80 192.168.2.2 30080

But I can not think of a way to do it depending on the source address of the initiator.

Hope this helps,

Leo

jmia
Level 7
Level 7

Hello Haver,

Please read the following link, might be of help:

http://www.cisco.com/warp/public/707/28.html#topic9

Hope this helps -