Solved

Cisco Pix501 Edit and Save config.txt

Posted on 2006-07-06
8
865 Views
Last Modified: 2013-11-16
I have a Cisoco PIX501, I reached cisco support and explained my problem  
Cisco instructed me to add a few lines to the config.txt
I connected to the PIX via the console port and used hyperterm to capture the config.txt file
I edited the file using wordpad. I added the lines they requested. (does it matter where i added these lines?)
I saved the file, and I need to know how to load the new file on the Pix501 (using hyperterm)

They had me add these lines to the config file. does it matter where they get inserted?

Access-list OUT-IN line 1 permit tcp any host 81.250.242.61 eq 2953
Access-list OUT-IN line 1 permit tcp any host 81.250.242.61 eq 2954
Clear xlate
static (inside,outside) tcp 81.250.242.61 2953 192.168.1.20 2953
static (inside,outside) tcp 81.250.242.61 2954 192.168.1.20 2954
clear xlate


Thanks in advance... I am new to this cisco stuff.. go easy on me




0
Comment
Question by:bobalounj
8 Comments
 
LVL 13

Accepted Solution

by:
prashsax earned 84 total points
ID: 17054365
Just open the telnet session.
Login to pix, change enable mode.

Then goto config mode using command:
config t

copy and paste these line one by one.
Use ctrl+z to come out of config mode.
Just leave "clear xlate" lines. You cannot paste them in config mode.

Just want to ask one thing, have cisco guys looked at your configuration and then recommended to add these line.
If yes, then do as I have mentioned above.
0
 
LVL 25

Assisted Solution

by:Ron Malmstead
Ron Malmstead earned 83 total points
ID: 17055653
agree with prashsax.

you don't need to reload the entire config, if your just adding some lines to it just copy and paste while in config mode.

logon to pix
type en (enable mode)
type config t (config mode)

Now paste your lines out of word pad.

Now type "wr mem" to save.

PS: I hope you didn't just post your public IP.....not a good idea.  I would hurry up and award the points to prashsax and close this before the script kiddies get hold of it.
0
 

Author Comment

by:bobalounj
ID: 17057587
I didnt post the real ip's thanks
Yes Cisco took a look at the config and made the suggestions

Does it matter where i insert these lines?

what do you mean by Just leave the clear xlate lines?  should i just type these in or ignore them

0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 13

Expert Comment

by:prashsax
ID: 17059127
yes, just ignore the
clear xlate command.
0
 
LVL 18

Assisted Solution

by:decoleur
decoleur earned 83 total points
ID: 17064951
access-lists are read by the pix from the top down, so the first ACL will always be read and then if it allows the traffic the next ACL will be evaluated. There is a catch all ACL that is implied at the end of every ACL that will deny all traffic, with this being the case you will have to make sure that you permit all the traffic of interest in the ACL that you write.

so yes it does matter how you put them in, but in your case they are both permit statements so the sequence doesn't matter but the fact that they are both overwritting line 1 does, that means that the second one will overwrite the first.

some commands on the PIX are dependent upon others and that is the only case that the sequence of inputting commands is important.

the order of putting in the commands that you have is not.

here is what they are asking you to do (notice i got rid of the line numbers):

pix$en
pix#configure terminal
pix(config)#access-list OUT-IN permit tcp any host 81.250.242.61 eq 2953
pix(config)#access-list OUT-IN permit tcp any host 81.250.242.61 eq 2954
pix(config)#exit
pix#clear xlate
pix#configure terminal
pix(config)#static (inside,outside) tcp 81.250.242.61 2953 192.168.1.20 2953
pix(config)#static (inside,outside) tcp 81.250.242.61 2954 192.168.1.20 2954
pix(config)#exit
pix#clear xlate
pix#write memory


hope this helps-

-t
0
 
LVL 18

Expert Comment

by:decoleur
ID: 17064955
FYI

the clear xlate command causes the pix to rebuild the translations between the inside and the outside interfaces for traffic that is going through the pix. It will not help when you put in the ACLs but could help when you create the new static mappings.

-t
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html) provided 218 attendees with a step-by-step guide for identifying Acti…
Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question