分享
 
 
 

四台Cisco防火墙实现VPN网络

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

其实四台Cisco防火墙的VPN同两台防火墙做VPN没什么大的区别,只是一定要注意路由的配置(我就是在这上面花了很长的时间,不是多写就是少写了,多少都是不会通的);在四台Cisco pix做VPN中,有两种方式,一种是采用一个中心的方式,另一种就是分散式的(我自己起的名字J),前者,也就是说以一个PIX点为中心,其它的机器都连到本机上,在通过本机做路由;后者,则是在每一个路由上都要写出到另外三台的加密方式(听来就很麻烦),这里我采用的就是第一种类型(不是我偷懒,而是客户要求,谁让客户是上帝了呢!);

以下,是施工图以及四个Cisco pix的详细配置:

详细配置如下:

中心pix1:

: Saved

: Written by enable_15 at 23:10:31.763 UTC Thu Apr 24 2003

PIX Version 6.2(2)

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password NHvIO9dsDwOK8b/k encrypted

passwd NHvIO9dsDwOK8b/k encrypted

hostname pixfirewall

fixup protocol ftp 21

fixup protocol http 80

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol ils 389

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol sip 5060

fixup protocol skinny 2000

names

access-list 101 permit ip 172.17.0.0 255.255.0.0 172.16.0.0 255.255.0.0

access-list 101 permit ip 172.17.5.0 255.255.255.0 172.17.10.0 255.255.255.0

access-list 101 permit ip 172.17.10.0 255.255.255.0 172.17.5.0 255.255.255.0

access-list 101 permit ip 172.16.0.0 255.255.0.0 172.17.0.0 255.255.0.0

access-list 101 permit ip 172.17.5.0 255.255.255.0 172.17.17.0 255.255.255.0

access-list 101 permit ip 172.17.10.0 255.255.255.0 172.17.17.0 255.255.255.0

access-list hyzc permit icmp any any

access-list hyzc permit tcp any any

access-list hyzc permit udp any any

pager lines 24

interface ethernet0 auto

interface ethernet1 auto

mtu outside 1500

mtu inside 1500

ip address outside 192.168.0.2 255.255.255.240

ip address inside 172.17.5.1 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

pdm history enable

arp timeout 14400

nat (outside) 1 0.0.0.0 0.0.0.0 0 0

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

access-group hyzc in interface outside

route outside 0.0.0.0 0.0.0.0 218.7.16.49 1

route inside 172.17.0.0 255.255.0.0 172.17.5.20 1

route outside 172.17.17.0 255.255.255.0 192.168.0.4 1

route outside 172.17.16.0 255.255.255.0 192.168.0.1 1

route outside 172.16.0.0 255.255.255.0 192.168.0.3 1

route outside 172.17.18.0 255.255.255.0 218.7.16.52 1

route outside 172.17.18.64 255.255.255.0 218.7.16.49 1

route outside 218.7.248.100 255.255.255.252 218.7.16.49 1

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 sip 0:30:00 sip_media 0:02:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server RADIUS protocol radius

aaa-server LOCAL protocol local

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

sysopt connection permit-ipsec

no sysopt route dnat

crypto ipsec transform-set strong esp-des esp-sha-hmac

crypto map tohyjt 20 ipsec-isakmp

crypto map tohyjt 20 match address 101

crypto map tohyjt 20 set peer 192.168.0.3

crypto map tohyjt 20 set peer 192.168.0.4

crypto map tohyjt 20 set peer 192.168.0.1

crypto map tohyjt 20 set transform-set strong

crypto map tohyjt interface outside

isakmp enable outside

isakmp key cisco address 192.168.0.3 netmask 255.255.255.255

isakmp key cisco address 192.168.0.4 netmask 255.255.255.255

isakmp key cisco address 192.168.0.1 netmask 255.255.255.255

isakmp identity address

isakmp policy 9 authentication pre-share

isakmp policy 9 encryption des

isakmp policy 9 hash sha

isakmp policy 9 group 1

isakmp policy 9 lifetime 86400

telnet 218.7.16.49 255.255.255.255 inside

telnet 172.17.5.20 255.255.255.255 inside

telnet timeout 5

ssh timeout 5

terminal width 80

Cryptochecksum:8982919a8bfa10ba09cddee3f2da0e6a

: end

pix2配置:

: Saved

: Written by enable_15 at 00:00:48.042 UTC Fri Apr 25 2003

PIX Version 6.2(2)

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password N.swjdczcTdUzgrS encrypted

passwd N.swjdczcTdUzgrS encrypted

hostname HYZCrc

fixup protocol ftp 21

fixup protocol http 80

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol ils 389

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol sip 5060

fixup protocol skinny 2000

names

access-list 101 permit ip 172.17.17.0 255.255.255.0 172.17.10.0 255.255.255.0

access-list 101 permit ip 172.17.17.0 255.255.255.0 172.17.5.0 255.255.255.0

access-list hyzc permit icmp any any

access-list hyzc permit tcp any any

access-list hyzc permit udp any any

pager lines 24

interface ethernet0 auto

interface ethernet1 auto

mtu outside 1500

mtu inside 1500

ip address outside 192.168.0.4 255.255.255.252

ip address inside 172.17.17.254 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

pdm history enable

arp timeout 14400

nat (outside) 1 0.0.0.0 0.0.0.0 0 0

nat (inside) 0 access-list 101

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

route outside 0.0.0.0 0.0.0.0 218.7.37.5 1

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 sip 0:30:00 sip_media 0:02:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server RADIUS protocol radius

aaa-server LOCAL protocol local

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

sysopt connection permit-ipsec

no sysopt route dnat

crypto ipsec transform-set strong esp-des esp-sha-hmac

crypto map tohyzc 20 ipsec-isakmp

crypto map tohyzc 20 match address 101

crypto map tohyzc 20 set peer 192.168.0.2

crypto map tohyzc 20 set transform-set strong

crypto map tohyzc interface outside

isakmp enable outside

isakmp key cisco address 192.168.0.2 netmask 255.255.255.255

isakmp identity address

isakmp policy 9 authentication pre-share

isakmp policy 9 encryption des

isakmp policy 9 hash sha

isakmp policy 9 group 1

isakmp policy 9 lifetime 86400

telnet 172.17.17.253 255.255.255.255 inside

telnet timeout 5

ssh timeout 5

terminal width 80

Cryptochecksum:f63109daf8abcaf74a4f3b30ab01b48a

: end

pix3配置:

: Saved

:

PIX Version 6.0(1)

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password X8QPBTnOSyX6X9Y9 encrypted

passwd X8QPBTnOSyX6X9Y9 encrypted

hostname pixfirewall

fixup protocol ftp 21

fixup protocol http 80

fixup protocol h323 1720

fixup protocol rsh 514

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol sip 5060

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有