频 道 直 达 - 新闻 - 读书 - 培训 - 教程 - 前沿 - 组网 - 系统应用 - 安全 - 编程 - 存储 - 操作系统 - 数据库 - 服务器 - 专题 - 产品 - 案例库 - 技术圈 - 博客 - BBS
51CTO.COM_中国领先的IT技术网站
找资料:

pix中的七个命令

作者: freebeme 出处:胜利的大熊猫  (  ) 砖  (  ) 好  评论 ( ) 条  进入论坛
更新时间:2006-06-23 15:43
关 键 词:防火墙
阅读提示:pix中的七个命令
六个基本命令
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]
 
(责任编辑: 51CTO.com TEL:010-68476606)

发表
查看
我也说两句

匿名发表

(如果看不清请点击图片进行更换)


中 国 领 先 的 IT 技 术 网 站 ·
技 术 成 就 梦 想
订阅技术快讯
电子杂志下载
名称:网络安全精品应用黄皮书
简介:《2007精品网络安全黄皮书》包括了9个大类24个小类, 800余篇文章,内容包含了熊猫烧香病毒、DDOS攻击、ARP病等热点问题的介绍及解决方案。从病毒查杀、防范、系统、数据等各方面的安全设置到黑客技术的了解、防范,涉及到了安全应用的全部领域, 由浅至深内容全面。
名称:Vista精品应用黄皮书
简介:《Vista精品应用黄皮书》囊括了Vista的各方面内容。此次的精简版,是将里面的内容做了提取,便于用户下载和使用。内容包含了各种Vista的安装与实施、技巧与解析以及各种Vista相关学习文档和相关软件的安全下载。该电子书是了解和应用Vista人员必备的工具手册,并且也是第一本
名称:2006中国IT论坛精品集合
简介:本书由“51CTO论坛推广联盟”制作完成。书中所有内容均来自各联盟成员的论坛(网站)。制作本书的目的是为了集中大家的优势资源,将更多更精彩的内容带给广大技术爱好者。本书是联盟成立以来制作的第一本书。
关键字阅读
频道精选
主编信箱 热线:010-66476606 告诉我们您想看的:专题 文章
关于我们 | 诚聘英才 | 联系我们 | 网站大事 | 意见反馈 | 网站地图
Copyright©2005-2007 51CTO.COM 版权所有