I want to access the box through internet and allow it to ping. So what additional command should I put ?
Thanks.
Main Topics
Browse All TopicsHave idea the minimize command to enable the ssh on ASA 5505 box ? I need to enable ping command and ssh so that I could remotely put the configuratoin on the box again.
In PIX, i use "ca gen rsa key 1024" but it no more support anymore. And the new command crypto key don't ask for any key size for me to fill in.
In addition, what interface / VLAN should I need to confgure in order to avoid the minimze purpose.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The ASA outside interface should respond to pings by default. You should not have to issue the "icmp permit" command.
See bdeterding's command syntax above. I would HIGHLY recommend that you restrict SSH access from the outside to specific IP addresses and not use the "0.0.0.0 0.0.0.0" for the <ip> and <mask> parameters of that command. For example, if you wanted IP address 1.1.1.1 only to be allowed to access the ASA from the outside, then you would put in:
ssh 1.1.1.1 255.255.255.255 outside
Thanks everyone for the valuable idea.
Below is the command that I will schedule to perform remotely. Is there anything missing. Few concerns
- Should I need to bind VLAN1 to the inside E0/1 by default (as I couldn't see any binding for VLAN to Ethernet interface in factory default setting)
- "ca save all" couldn't work anymore on ASA. So, use "write mem" could save the certificate, correct ?
- For the command below, I could at least ping the outside interface, correct ?
Frankly, I have put those commands in ASA box but couldn't work. Can anyone think of a potential reason for it not what ? Is it due to the binding of VLAN1, interface negotation, etc...
Many thanks.
- write erase
- reload
hostname xxxxxx
domain-name xxxxxx
interface Vlan1
nameif inside
security-level 100
ip address xxxxx 255.255.255.0
interface Vlan2
nameif outside
security-level 0
ip address xxxxx 255.255.255.240
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
no shut
interface Ethernet0/2
no shut
route outside 0.0.0.0 0.0.0.0 xxxxx 1
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 5
crypto key generate rsa 1024
wr mem
>>Should I need to bind VLAN1 to the inside E0/1 by default (as I couldn't see any binding for VLAN to Ethernet interface in factory default setting)
No, VLAN1 is bound to ports E0/1 - E0/7 by default.
>>"ca save all" couldn't work anymore on ASA. So, use "write mem" could save the certificate, correct ?
That is correct.
>>For the command below, I could at least ping the outside interface, correct ?
That is correct.
Are you trying to SSH to the outside interface? If so, it should work from any source IP address with the commands above.
Also, rather than a "wr erase" which removes the entire ASA configuration, there is a special command "configure factory-default" that will reset the entire ASA configuration to the factory default settings. You can try that if you wish and then enter the rest of the commands and see if that helps...
Thanks.
I access the remote ASA box through my home ADSL router tonight. This is a dynamic IP address from ISP. I know the public IP address going outside. Is there any way to find out the subnet used by my provider based on the public IP address so that I could restrict the subnet used by ssh.
Thanks again.
Hi
The BT ADSL router is connecting to a min-switch. From min-switch, it attach to our existing firewall (Netgear) and our new ASA 5505. Both public interface of these two boxes are configured with pubilc IP provided by ISP. And I have a laptop that plug into the mini-switch but it obtain a private IP, believe from the ADSL router. (The IP is totally different from public IP as it is a private subnet range).
Try to ping from laptop and ssh to ASA 5505 is perfect. However, I try to access the box remote from another world and it doesn't work. Does it mean BT router has blocked some kinds of access ? Why does it happen like that ??
Thanks
Simon
I use Teamwork to connect to a laptop in remote office. The laptop is plug directly to the BT network as mentioned above. I would make ping and ssh to ASA, under same BT network.
However, if a ssh the ASA from my home laptop, it would work. To me, it seems that BT router has block access on this.... Am I correct ? Why it happen ?
Tks
If this is the computer you want to check do a netstat -a
Look witch port is open.
and by the way, best pracis is not to allow icmp on a outside interface of a firewall.
if you like to drop this trafic do : icmp deny any outside, if you like to di icmp on lan or dmz, do icmp permit any inside, and so on.
one way to et you ip address, is to do : www.myip.dk that will work for you.
Business Accounts
Answer for Membership
by: batry_boyPosted on 2008-03-05 at 04:31:31ID: 21049682
On the ASA, the command is:
crypto key generate rsa 1024
If you leave off the "1024" in the above command, it will use 1024 by default.
>>what interface / VLAN should I need to confgure in order to avoid the minimze purpose.
I'm not sure what you mean by "to avoide the minimize purpose". Please clarify.