网络通信 频道

在pix上配置多个接口及配置接口指南

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

 

转载地址:http://www.net130.com/CMS/Pub/Tech/tech_zh/2005_09_14_80181.htm

0
相关文章