侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

ciscoasa ssl*** 网关模式

2023-04-06 星期四 / 0 评论 / 0 点赞 / 74 阅读 / 5519 字

ciscoasa# sh run: Saved:ASA Version 8.2(1) !hostname ciscoasaenable password ajgvZKkj9OFA/xdm encryp

.

ciscoasa# sh run
: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
enable password ajgvZKkj9OFA/xdm encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
---------------地址配置----------------------------
interface Ethernet0/0
duplex full
nameif outside
security-level 0
ip address X.104.203.13 255.255.255.0
!
interface Ethernet0/1
duplex full
nameif inside
security-level 100
ip address 172.28.192.249 255.255.255.0

!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
!
ftp mode passive
-----------------------地址组配置------------------
object-group network dhcp
network-object X.118.139.0 255.255.255.0
object-group network
home
network-object 10.0.0.0 255.0.0.0

access-list ingate extended permit ip any any
*----------------隧道分割acl----------------
access-list 101 extended permit ip object-group
home object-group *dhcp

access-list outgate extended permit ip any any
pager lines 24
mtu outside 1500
mtu inside 1500
------------------地址池-----------------
ip local pool pool X.118.139.20-X.118.139.100 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
icmp permit any outside
icmp permit any inside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list 101 ------------------
流量不被NAT---------
nat (inside) 1 0.0.0.0 0.0.0.0

access-group outgate in interface outside
access-group ingate in interface inside

route outside 0.0.0.0 0.0.0.0 X.104.203.9 1
route inside 10.0.0.0 255.0.0.0 172.28.192.254 1
route inside 172.28.0.0 255.255.0.0 172.28.192.254 1

timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy

-----------radius服务器-----------------
aaa-server ssl protocol radius
aaa-server ssl (inside) host 172.28.2.101
key vxicisco

no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart

*-------------------ipsec配置----------------------
crypto ipsec transform-set
3000policy esp-3des esp-sha-hmac
crypto ipsec transform-set 3000policy mode transport
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map
3000policy 10 set transform-set 3000policy
crypto map
3000policy 10 ipsec-isakmp dynamic 3000policy
crypto map
3000policy interface outside
crypto isakmp enable outside
crypto isakmp policy 5
authentication pre-share
encryption des
hash md5
group 2
lifetime 86400
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto isakmp nat-traversal 10 -----NAT-T-----------

telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 inside
ssh timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
ntp server 172.28.5.98
--------------ssl策略组配置---------------
group-policy 3000policy internal
group-policy
3000policy attributes
dns-server value X.118.144.252
split-tunnel-policy tunnelspecified
split-tunnel-network-list value 101

username admin password MAjIcpRREUJ5ncoRkeaaDw== nt-encrypted
username vxiadmin password /1ganKF8WKayiiD0 encrypted

tunnel-group DefaultRAGroup general-attributes
address-pool pool
tunnel-group
3000 type remote-access
tunnel-group 3000 general-attributes
address-pool
pool
authentication-server-group ssl
authentication-server-group (inside) LOCAL ----本地认证
default-group-policy 3000policy
tunnel-group
3000 ipsec-attributes
pre-shared-key cisco

!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
inspect pptp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:e01e9e79cec447e93fd18bd515e7fecc
: end

.

广告 广告

评论区