初始化ASA
interface g0
no shutdown
nameif outside
security-level 0
ip add 100.1.1.1 255.255.255.0
interface g1
nameif inside
security-level 100
ip add 200.1.1.1 255.255.255.0
配置登陆:
telnet 0 0 inside
ssh 0 0 outside
ssh ver 2
aaa authentication ssh console LOCAL
username admin password admin
crypto key generate rsa modulus 1024
开启adsm:
http server enable
http 0 0 inside
username admin password admin privilege 15
放通相同级别的通信
same-security-traffice permit inter-interface
same-security-traffice permit intra-interface