码迷,mamicode.com
首页 > 系统相关 > 详细

ciscoasa_l2tp_raduis_单臂_Local

时间:2020-10-19 22:53:38      阅读:33      评论:0      收藏:0      [点我收藏+]

标签:access   group   rpc   stat   res   proxy   inspect   passwd   sha   

ciscoasa# sh run
: Saved
:
ASA Version 8.2(1)
!
hostname ciscoasa
enable password ajgvZKkj9OFA/xdm encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/1
nameif inside
security-level 100
ip address X.118.138.253 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

same-security-traffic permit inter-interface
same-security-traffic permit intra-interface

------放行流量
object-group network ***dhcp
network-object X.118.139.0 255.255.255.0
object-group network ***home
network-object X.0.0.0 255.0.0.0
network-object 192.168.150.0 255.255.255.0
network-object 172.28.0.0 255.255.0.0
access-list ingate extended permit ip any any
access-list 101 extended permit ip object-group ***home object-group ***dhcp
pager lines 24
mtu inside 1500
ip local pool l2tp X.118.139.1-X.118.139.100 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
access-group ingate in interface inside
route inside 0.0.0.0 0.0.0.0 X.118.138.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
aaa-server *** protocol radius
aaa-server *** (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
crypto ipsec transform-set cisco*** esp-3des esp-md5-hmac
crypto ipsec transform-set cisco*** mode transport
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map cisco*** 10 set transform-set cisco***
crypto map cisco*** 10 ipsec-isakmp dynamic cisco***
crypto map cisco*** interface inside
crypto isakmp enable inside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
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
group-policy cisco*** internal
group-policy cisco*** attributes
dns-server value X.118.145.252
***-tunnel-protocol IPSec l2tp-ipsec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value 101
username cisco password XIAPE6POhu0lQN1OczHpog== nt-encrypted
username vxiadmin password /1ganKF8WKayiiD0 encrypted
tunnel-group DefaultRAGroup general-attributes
address-pool l2tp
authentication-server-group ***
default-group-policy cisco***

* authentication-server-group LOCAL ------本地认证
****
本地账号认证命令 username cisco password cisco mschap**

tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key *
tunnel-group DefaultRAGroup ppp-attributes
authentication ms-chap-v2
!
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:82282849a585a23d4f6f9d0e1a034527
: end

ciscoasa_l2tp_raduis_单臂_Local

标签:access   group   rpc   stat   res   proxy   inspect   passwd   sha   

原文地址:https://blog.51cto.com/13251917/2542452

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!