
893-741-B
A13-13
Filtering
add Subcommand Examples
Because the NFS and TFTP protocols do not support password protection, you may want to use
filtering to prevent hosts on an external network from using those protocols to access files on your
internal network. To do this, select the Model 5390 server to act as a firewall between the local and
external network and create filters on it to block NFS and TFTP traffic. For example, you could
create the following two filters, which prevent TFTP or NFS packets from crossing Model 5390
interface asy8:
annex# filter
filter: add asy8 input include protocol udp port_pair\
>
nfs * icmp
filter: add asy8 input include protocol udp port_pair\
>
tftp * icmp
Note the following about the preceding sample filters:
•
Both filters apply only to packets arriving on Model 5390 interface asy8 (which could attach
to either a PPP or SLIP line). To apply a filter to an another interface, specify a second filter
for that interface, or specify * instead of asy8, thereby blocking the protocol on all interfaces.
•
Both filters match packets whose network protocol family is IP. Since the family argument is
optional (IP is assumed), the examples omit it.
•
Both filters specify protocol as UDP because UDP is the transport-level protocol on which
NFS and TFTP operate.
•
The port_pair argument in each filter specifies that the filter applies to any UDP packet that
contains NFS or TFTP in its source or destination protocol field.
•
When one of these filters matches a packet, the Model 5390 server discards the packet and
sends the ICMP destination unreachable, communication administratively prohibited message
to the originator of packet. To discard the packet without sending a message, specify discard
instead of icmp.
Summary of Contents for 5390
Page 28: ...893 741 B Figures xxviii ...
Page 44: ...893 741 B Preface xliv ...
Page 45: ......
Page 48: ......
Page 60: ...A1 12 893 741 B Introduction to the Model 5390 Server ...
Page 106: ...A3 18 893 741 B Configuring Ports ...
Page 142: ...A5 12 893 741 B Printers ...
Page 152: ...A6 10 893 741 B Modems ...
Page 168: ...A7 16 893 741 B Serial Line Internet Protocol SLIP ...
Page 224: ...A9 38 893 741 B Internetwork Packet Exchange IPX Protocol ...
Page 258: ...A11 12 893 741 B Dial up Networking ...
Page 289: ...893 741 B A12 31 Internet Protocol IP Routing that are possible ...
Page 506: ...A15 86 893 741 B Using Model 5390 Security ...
Page 507: ......
Page 544: ...B1 36 893 741 B Network Administration ...
Page 574: ...B2 30 893 741 B Simple Network Management Protocol SNMP ...
Page 575: ......
Page 606: ...C1 30 893 741 B na Commands ...
Page 676: ...C2 70 893 741 B Configuration Parameters ...
Page 772: ...C3 96 893 741 B Using the CLI Commands ...
Page 794: ...C5 12 893 741 B Network Protocols ...
Page 795: ......
Page 796: ... Appendix D1 Software Reference Part D Appendixes ...