Solved

Cisco Pix501 Edit and Save config.txt

Posted on 2006-07-06
8
863 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 M
Ron M 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now