Chinaunix首页 | 论坛 | 博客
  • 博客访问: 17988517
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-22 15:36:11

pixfirewall(config)#nameif ethernet1 inside sec100
pixfirewall(config)#nameif ethernet2 dmz sec50
pixfir ewall(config)#nameif ethernet3 parternet sec20
pixfirewall(config)#int eth0 auto
pixfirewall(config)#int eth1 auto
pixfirewall(config)#int eth2 auto
pixfirewall(config)#int eth3 auto
pixfirewall(config)#ip add outside 192.168.0.2 255.255.255.0
pixfirewall(config)#ip add inside 10.0.0.1 255.255.255.0
pixfirewall(config)#ip add dmz 172.16.0.1 255.255.255.0
pixfirewall(config)#ip add parternet 172.26.26.1 255.255.255.0
pixfirewall(config)#nat (inside) 1 10.0.0.0 255.255.255.0
pixfirewall(config)#global (outside) 1 192.168.0.15-192.168.0.254 netmask 255.255.255.0
pixfirewall(config)#global (dmz) 1 172.16.0.10-172.16.0.254 netmask 255.255.255.0
pixfirewall(config)#static (dmz,outside) 192.168.0.11 172.16.0.2
pixfirewall(config)#conduit permit tcp host 192.168.0.11 eq http any

 


在pix防火墙上配置接口指南。
从这个接口  到这个接口   使用命令
内部        外部        nat/global
内部        dmz         nat/global
内部        伙伴        nat/global
dmz         外部        nat/global
dmz         伙伴        nat/global
dmz         内部        static/conduit
伙伴        外部        nat/global
伙伴        dmz         static/conduit
伙伴        内部        static/conduit
外部        dmz         static/conduit
外部        伙伴        static/conduit
外部        内部        static/conduit

阅读(327) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~