思科防火墙PIX8.0 L2LVPN解决地址重叠测试(2)(2)
2013-07-04 01:41
浏览:
ip address 202.100.1.10 255.255.255.0
no shut
interface Ethernet0/1
ip address 202.100.2.10 255.255.255.0
no shut
D.PIX80_Branch防火墙:
interface Ethernet0
nameif Inside
security-level 100
ip address 172.16.1.1 255.255.255.0
no shut
interface Ethernet1
nameif Outside
security-level 0
ip address 202.100.2.1 255.255.255
no shut
route Outside 0.0.0.0 0.0.0.0 202.100.2.10
access-list OUTSIDE extended permit icmp any any
access-group OUTSIDE in interface Outside
E.ERP_Branch路由器:
interface Ethernet0/0
ip address 172.16.1.3 255.255.255.0 secondary
ip address 172.16.1.2 255.255.255.0
no shut
ip route 0.0.0.0 0.0.0.0 172.16.1.1
五.防火墙NAT配置:
A.PIX80_HQ防火墙:
①PAT:
access-list PAT extended permit ip 172.16.1.0 255.255.255.0 any
nat (Inside) 1 access-list PAT
global (Outside) 1 interface
②NAT免除:
access-list NAT0 extended permit ip host 172.16.1.2 host 10.1.2.2
nat (Inside) 0 access-list NAT0
B.PIX80_Branch防火墙:
①PAT:
access-list PAT extended permit ip 172.16.1.0 255.255.255.0 any
nat (Inside) 1 access-list PAT
global (Outside) 1 interface
②静态策略NAT:
access-list VPN-NAT extended permit ip host 172.16.1.2 host 10.1.1.2
static (Inside,Outside) 10.1.2.2 access-list VPN-NAT
③outside的NAT:
static (Outside,Inside) 10.1.1.2 172.16.1.2 netmask 255.255.255.255
----这样当总部未经NAT转换的172.16.1.2到底分别outside接口解密之后,进入内网地址就转换为10.1.1.2
六.L2L VPN配置:
A.PIX80_HQ防火墙:
①第一阶段策略:
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash md5
group 2
tunnel-group 202.100.2.1 type ipsec-l2l
tunnel-group 202.100.2.1 ipsec-attributes
pre-shared-key cisco
②第二阶段转换:
crypto ipsec transform-set transet esp-des esp-md5-hmac
③感兴趣流:
access-list VPN extended permit ip 172.16.1.0 255.255.255.0 10.1.2.0 255.255.0.0
- -
-
- 相关推荐
- 半年热点
-
小米路由器AC2100连不上网怎么办?
浏览: 198
tplogin.cn修改wifi密码
浏览: 59
腾达路由器怎么安装设置?Tenda路由器怎么设置
浏览: 93
电脑如何设置TP-LINK路由器?
浏览: 146
【教程】怎么在手机上修改路由器的WIFI密码
浏览: 147
192.168.1.1打不开怎么办(二)
浏览: 174
【视频教程】迅捷(Fast)路由器如何设置?
浏览: 104
Fast(迅捷)无线路由器设置教程
浏览: 173
192.168.0.1路由器密码设置
浏览: 170
Fast(迅捷)无线路由器怎么设置
浏览: 172
TP-LINK路由器设置教程
浏览: 70
TP-LINK无线、有线路由器详细设置教程
浏览: 74
192.168.0.1路由器接线方法
浏览: 78