IT运维管理,创造商业价值!
中国IT运维网首页 | 资讯中心 | 运维管理 | 信息安全 | CIO视界 | 云计算 | 最佳案例 | 运维资源 | 专题策划 | 知识库 | 论坛

pix中的七个命令

2006年06月23日
/
六个基本命令
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)
发表评论请到:http://bbs.cnitom.com

相关阅读

图文热点

Power架构产品创新 IBM推动其本土化发展
Power架构产品创新 IBM推动其本土化发展自从1990年,IBM推出基于RISC系统的新产品线RS/6000(现称eServer p系列)之后,...
WAF:高校Web应用安全守护者
WAF:高校Web应用安全守护者最近几年高校网站被攻击的事件时有发生,造成了不良影响,因此越来越多的高校开始...

本类热点