• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

防火墙技术——pix中的七个命令

发布: 2007-6-23 18:14 | 作者:   | 来源:   | 查看: 19次 | 进入软件测试论坛讨论

领测软件测试网

   
  六个基本命令
  
  static:Configure a persistent one-to-one address translation rule by mapping a local IP address to a global IP address. This is also known as Static Port Address Translation (Static PAT). (Configuration mode.)

  
  static [(prenat_interface, postnat_interface)] {mapped_address| interface} real_address [dns] .netmask mask] [norandomseq]
  
  [connection_limit [em_limit]]
  
  show static
  
  nameif,Name interfaces and assign security level. (Configuration mode.)
  nameif hardware_id if_name security_level
  show nameif /clear nameif
  
  interface:Identify network interface speed and duplex. (Configuration mode.)
  interface hardware_id [hardware_speed] [shutdown]
  show interface hardware_id [hardware_speed] [shutdown]
  
  ip address:Identifies addresses for network interfaces, and enables you to set the number of times the PIX Firewall will
  
  poll for DHCP information. (Configuration mode.)
  ip address if_name ip_address [netmask]
  ip address outside dhcp [setroute] [retry retry_cnt]
  ip address if_name pppoe [setroute]
  ip address if_name ip_address netmask pppoe [setroute]
  
  show ip
   Displays IP addresses assigned to the network interfaces.
  show ip address if_name dhcp
   Displays detailed information about the DHCP lease.
  show ip address if_name pppoe
   Displays detailed information about the PPPOE connection.
  
  global:Create or delete entries from a pool of global addresses. (Configuration mode.)
  global [(if_name)] nat_id {global_ip [-global_ip] [netmask global_mask]} | interface
  global [(if_name)] nat_id {{global_ip} [netmask global_mask] | interface}
  show global
  
  nat:Associate a network with a pool of global IP addresses. (Configuration mode.)
  nat [(if_name)] id address [netmask [outside] [dns] [norandomseq] [timeout hh:mm:ss] [conn_limit [em_limit]]]
  nat [(if_name)] 0 access-list acl_name
  show nat
  
  route
  Enter a static or default route for the specified interface. (Configuration mode.)
  route if_name ip_address netmask gateway_ip [metric]
  show route
  
  conduit..
  联合使用static和conduit命令来只允许http访问。
  pixfirewall(config)#static (inside,outside) 192.168.1.101 10.0.1.10 netmask 255.255.255.255
  pixfirewall(config)#conduit per tcp any eq www host 172.16.1.1
  conduit语法;
  conduit deny|permit protocol | object-group protocol_obj_grp_id global_ip global_mask | object-group network_obj_grp_id
  [operator port [port] | object-group service_obj_grp_id] foreign_ip foreign_mask | object-group network_obj_grp_id [operator
  port [port] | object-group service_obj_grp_id]

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网