firewall add portfilter
40
Model 3231 CLI Reference Guide
5 • Firewall Commands
firewall add portfilter
Add a port filter to a firewall policy.
Note
Begin each top-level command in the table below with
firewall add portfilter <name> <policyname>
.
Table 24. firewall add portfilter <name> <policyname>
Command
Explanation
ftp
both
Allow inbound/outbound transport of FTP pack-
ets between inside and outside interfaces.
inbound
Allow transport of FTP packets from an outside
interface to an inside interface. Outbound trans-
port is not allowed..
outbound
Allow transport of FTP packets from an inside
interface to an outside interface. Inbound trans-
port is not allowed.
http
both
Allow inbound/outbound transport of HTTP pack-
ets between inside and outside interfaces.
inbound
Allow transport of HTTP packets from an outside
interface to an inside interface. Outbound trans-
port is not allowed.
outbound
Allow transport of HTTP packets from an inside
interface to an outside interface. Inbound trans-
port is not allowed.
icmp
both
Allow inbound/outbound transport of ICMP
packets between inside and outside interfaces
inbound
Allow transport of ICMP packets from an outside
interface to an inside interface. Outbound trans-
port is not allowed.
outbound
Allow transport of ICMP packets from an inside
interface to an outside interface. Inbound trans-
port is not allowed.
protocol <number>
both
Allow inbound/outbound transport of packets of
the specified protocol number between inside
and outside interfaces.
inbound
Allow transport of packets of the specified proto-
col number from an outside interface to an inside
interface. Outbound transport is not allowed.
outbound
Allow transport of packets of the specified proto-
col number from an inside interface to an outside
interface. Inbound transport is not allowed.