Improve company productivity with a Business Account.Sign Up

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1341
  • Last Modified:

How to show access policy and forward policy on Cisco PIX 515E firewall device

I switched a new company with only Cisco PIX 515E as the firewall. I need list the access policy and change a domain name pointing from a web server on DMZ to a web server on LAN zone.

I have many years experiences for using sonic wall and junimper wall. But after I use putty login to the PIX 515E, I don't know how to enable the GUI interface, anybody can help me for the job.

1. list all access rules and NAT rules.
2. change the point to a new server.
3. enable the web interface so that I can manage it through a browser.

thank you for the help.
Jason Yu
Jason Yu
3 Solutions
Jason YuAuthor Commented:
after i login to the firewall 515E, I run the command write t, I can see a policy like this one:

"static (DMZ,outside) netmask tcp 7000 0"

Is this the policy forwarding http policy from public ip to private ip

if I moved the webserver from DMZ to LAN, can I just change this policy's ip to the new one.

which command do I need use to change, thank yo
That is not the forwarding policy, that is the NAT policy.  To see the running configuration you can do:

     show running

to see the saved configuration that will be loaded if you restart the firewall you can do:

     show start

On the pix any change you make to the config must be saved using the "write mem" command.  This way if you make a change and it "breaks" something, you just reload the last saved config.

The running/startup configs show you all configuration settings.

What version of PIX are you running?  There should be a version of  Cisco's ASDM that will give you a GUI interface to manage the PIX.  You don't need to ssh/telnet into the PIX to use the GUI interface.
with the older PIX 515 you have you need to do this to have the web interface
">" and "#" and "(config)#" represent prompts on the PIX and things in [ comments ] are info. type what is after the prompts...

putty to PIX


[type in your password]

#config t

(config)#http server enable

(config)#http inside

[you actually will need to use IP and mask from your inside net, not etc.]


[press key combination, not type]

#wri mem

at this point you should be able to point a web browser at the inside interface of your PIX. Unless it has been kept up to date, it may have PIX device manager instead of ASDM and you may need to update you OS and the image file for the device manager.

After you have the web interface up, changing the static NAT for the address of the server and listing access lists and the NAT translastions be a bit more intuitive.

from the enable prompt at the CLI, the "show run" command will give you the full config that contains the ACL's and NAT translations. If you have that, in config mode, doing an "no" before the static command you need to remove and then re-entering it changing the IP gets you there...

(config)# no static (inside, outside) netmask
(config)# static (inside, outside) netmask

would remove a mapping public IP of to private and then add one for public to private
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Pete LongTechnical ConsultantCommented:
Connecting to and Managing Cisco Firewalls

>>1. list all access rules and NAT rules.

Show run access-list
Show run nat
Show Run Global
Show run static

As for changing the Static NAT -  jjester1 has already got that covered above

Jason YuAuthor Commented:
thank you experts, I really glad to see so many replies even in this biggest long holiday.

I will try the commands here next Wednesday when I go back to work.

Merry Christmas for all experts working here.

Jason YuAuthor Commented:
does "wri rem " has any negative effect on the sysem, do I need backup the configuration file and how to do it? I was gonna to enable the http server.
Jason YuAuthor Commented:
Got this WARNING message;

pix515e(config)# http server enable
pix515e(config)# http inside
WARNING: IP address <> and netmask <> inconsistent

Do I need keep goint and "wri rem", thanks.
Jason YuAuthor Commented:
formely, this public ip was pointed to a web server on DMZ zone, but we want to point the Ip to a server on LAN (behind the firewall), is the command the same?
Jason YuAuthor Commented:
Hi, Jjerster:

Thank you for your reply, I appreciate your help and advise.

I tried to run the commands you provided, and the result is as follows. After running, I tried to open a browser and input the IP address of, but I still couldn't open the web interface, could you please take a look. the only abnormal thing is it gives me IP address and netmask inconsistent warning, I am not sure if it's the reason.

pix515e# config t
pix515e(config)# http server enable
pix515e(config)# http inside
WARNING: IP address <> and netmask <> inconsistent
pix515e# wri mem
Building configuration...
Cryptochecksum: 62a45e24 1ee2542b fd9611be a2a0da7f

27511 bytes copied in 0.980 secs
Jason YuAuthor Commented:
I downloaded a cisco ASDM v 1.4 version and try to connect to the firewall, but it says invalid username or password, I was wondering where I can reset the password for remote management.

thank you.
Jason YuAuthor Commented:
Got is solved, I installed ASDM and connect to the device.

Thank you very much.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Increase Security & Decrease Risk with NSPM Tools

Analyst firm, Enterprise Management Associates (EMA) reveals significant benefits to enterprises when using Network Security Policy Management (NSPM) solutions, while organizations without, experienced issues including non standard security policies and failed cloud migrations

Tackle projects and never again get stuck behind a technical roadblock.
Join Now