1 月 152014
 

定义对象类型为主机

object network 192.168.15.10
 host 192.168.15.10

定义对象组并添加一条开放3389端口的服务

object-group service 192.168.3.101
 service-object tcp-udp destination eq 3389

添加静态NAT映射

object network 192.168.15.10
 nat (inside,outside) static 192.168.3.101 dns

添加访问控制列表

access-list outside_access extended permit object-group 192.168.3.101 any object 192.168.15.10
access-list outside_access_in extended permit ip any any

应用访问控制列表

access-group outside_access_in in interface outside control-plane
access-group outside_access in interface outside

尝试连接防火墙上开放的服务端口(远程桌面 3389)

asa5505-mapped-ip-01

点连接后提示输入用户名和密码,证实开放端口服务的会话已经开始

asa5505-mapped-ip-02

1 月 152014
 

使用Chrome浏览器访问已正确启用ASDM的设备IP后返回的错误提示信息

在IE和Firefox浏览器下不返回任何提示

Error code: ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Error code: ERR_SSL_PROTOCOL_ERROR

asa5505-cipher-ssh-asdm-01

使用putty登录SSH服务时提示使用了不安全的Single-DES加密方法

asa5505-cipher-ssh-asdm-02

申请加密方法License网址

https://tools.cisco.com/SWIFT/LicensingUI/loadDemoLicensee?FormId=139

输入设备序列号,通过sh run查看

asa5505-cipher-ssh-asdm-03

选择接受License信息的联系人信息

asa5505-cipher-ssh-asdm-04

等待完成请求

asa5505-cipher-ssh-asdm-05

请求成功,提示邮件已经发送至指定的邮箱中。

asa5505-cipher-ssh-asdm-06

查看邮件

asa5505-cipher-ssh-asdm-07

 

asa5505-cipher-ssh-asdm-08 asa5505-cipher-ssh-asdm-09 asa5505-cipher-ssh-asdm-10

启用SSH v2协议的错误提示
ciscoasa(config)# ssh version 2
ERROR: SSH version 2 requires a VPN-3DES-AES activation key.
ciscoasa(config)#

使用Putty登录的加密方法提示
查看启用和未启用的加密方式
ciscoasa# sh ssl
Accept connections using SSLv2, SSLv3 or TLSv1 and negotiate to SSLv3 or TLSv1
Start connections using SSLv3 and negotiate to SSLv3 or TLSv1
Enabled cipher order: des-sha1
Disabled ciphers: 3des-sha1 rc4-md5 rc4-sha1 aes128-sha1 aes256-sha1 null-sha1
No SSL trust-points configured
Certificate authentication is not enabled
ciscoasa#
在Cisco官方网站申请
激活许可证
ciscoasa# activation-key d722c45d 906ea02d eca1c1a8 9418a8e8 c20f1bab
Validating activation key. This may take a few minutes…
Both Running and Flash permanent activation key was updated with the requested key.
ciscoasa#
启用可用加密方式
ciscoasa# config t

ciscoasa(config)# ssl encryption 3des-sha1 rc4-md5 rc4-sha1 aes128-sha1 aes256-sha1

ciscoasa(config)# sh ssl
Accept connections using SSLv2, SSLv3 or TLSv1 and negotiate to SSLv3 or TLSv1
Start connections using SSLv3 and negotiate to SSLv3 or TLSv1
Enabled cipher order: 3des-sha1 rc4-md5 rc4-sha1 aes128-sha1 aes256-sha1
Disabled ciphers: des-sha1 null-sha1
No SSL trust-points configured
Certificate authentication is not enabled
ciscoasa(config)#

启用SSH Version 2不再报错

ciscoasa(config)# ssh version 2
ciscoasa(config)#

开启ASDM访问

ciscoasa(config)# aaa authentication http console LOCAL
ciscoasa(config)# http server enable
ciscoasa(config)# http 0 0 outside

ciscoasa(config)# logging enable
ciscoasa(config)# logging asdm informational