Cisco Cisco Meeting Server 2000 开发者指南

下载
页码 54
Cisco Meeting Server Release 2.0 : MMP Command Line Reference
18
Command/Examples
Description/Notes
firewall <iface> allow <port>[/<proto>]
[from <host>[/<prefix>]]
firewall <iface> deny <port>[/<proto>]
[from <host>[/<prefix>]]
Add rules with these commands.
The <port> argument can be specified either as a
number (e.g. "80") or as service name from the 
(e.g. "http").
The protocol argument is either tcp or udp. If omitted,
the rule matches both TCP and UDP packets.
firewall admin allow http/tcp
Allows TCP packets on port 80 on the admin interface
firewall a deny 678
Drops all packets on port 678 on media interface A
An optional from clause limits the hosts to which a rule
applies. This is specified as an IPv4 or IPv6 address with
an optional prefix length to denote a subnet.
firewall admin allow ssh from
192.168.1.0/28
Allows SSH access to the admin interface from the 256
IPv4 address between 192.168.1.0 and 192.168.1.255
firewall <iface> delete <tag
>
To delete a rule, use its tag with this command.
firewall admin delete 0
Deletes the single rule above this table.
4   Firewall Commands