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

Cisco Pix501 Edit and Save config.txt

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
bobalounj
Asked:
bobalounj
3 Solutions
 
prashsaxCommented:
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
 
Ron MalmsteadInformation Services ManagerCommented:
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
 
bobalounjAuthor Commented:
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
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
prashsaxCommented:
yes, just ignore the
clear xlate command.
0
 
decoleurCommented:
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
 
decoleurCommented:
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

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

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