cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
673
Views
5
Helpful
8
Replies

Port address translation in in PIX

samantha.lk
Level 1
Level 1

Hi

I'm using pix 525 firewall and i want to add a nat entry to accomplish bellow target.

External users direct port 443 requests to unique IP address 203.xxx.xx.xxx, which the PIX redirects to 10.50.4.10 port 8443.

so, if i add it as:

static (inside,outside) tcp 203.xxx.xx.xxx 443 10.50.4.10 8443 netmask 255.255.255.255 0 0

kindly can some one advice will this give what i need as mentioned above.

1 Accepted Solution

Accepted Solutions

it needs clear xlate

and sometimes needs reloading the firewall !!

try it and let me know

View solution in original post

8 Replies 8

Marwan ALshawi
VIP Alumni
VIP Alumni

this is exactly what u need

only one more thing u need to add

which is the permit access list

for example

access-list 100 permit tcp any host 23.x.x.x eq 443

access-group 100 in interface outside

good luck

please, if helpful rate

Many thanks for your valuble response.

I have already added that access-list antry also, even I forget to mention it there.

But unfortunately still it is not allowing outsiders to come inside through https.

DO i have to restart the firewall or do a clear xlate command inorder to work that?

further, is there any way to view whether this NAT is working? (any show command or something ..) when i do show xlate command

it only display as

Global 203.115.19.49 Local 10.50.x.xx

and no port numbers are showing.

your kind advice is appreciated.

Marwan ALshawi
VIP Alumni
VIP Alumni

r u using port 8443 as https in ur internal server?

basicly it should look like

static (inside,outside) tcp 203.xxx.xx.xxx https 10.50.4.10 https netmask 255.255.255.255

unless u have changed the port number

and sure as u mentioned u have to have permit ACL

do have th proper config on the server it self

i mean the default gateway and so on

try show nat ?

and see the available nat commands

also i would recommend u

after changing any NATing to do

clear xlate

if didnt work

reload the firewall

then test the nat again

good luck

please if helpful rate

it was Nice to see your prompt response..

As u think I'm using port 8443 as https in my internal server.

let me expalin bit more about this senario.

previously our company requirment was provide access for outsiders to access this server on port 8443. (same as the servers https port 8443). so i make changes and it was working fine.

Now they wanted outsiders to access it through port 443 and redirecting that trafic as 8443 to the internal server from the PIX.(server side no change)

so what i have done was changed the previous one to one nat as bellow.

OLD- static (inside,outside) tcp 203.xxx.xx.xxx 10.50.4.10 netmask 255.255.255.255 0 0

NEW- static (inside,outside) tcp 203.xxx.xx.xxx https 10.50.4.10 8443 netmask 255.255.255.255 0 0

and provide access-list antry as

access-list 200 line 28 permit tcp any host 203.xxx.xx.xxx eq https

(this is my outside-inbound access list)

kindly mention whether it is really need to do clear xlate? is there any way to only remove a perticular entry?

when i do show nat it doesn't show all natings.(only 2 showing and i have many others also).

Kindly advice.

many thanks for spending your valuble time on this.

it needs clear xlate

and sometimes needs reloading the firewall !!

try it and let me know

did u get it working ?

I reloaded the firewall and It is working now!!!

Many thanks for your valuble advices..

i am glad its working

and thanks for rating :)

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: