Security 14-31
Example TCP/UDP Ports
Firewall design rules
There are two basic rules to firewall design:
■
“What is not explicitly allowed is denied...”
and
■
“What is not explicitly denied is allowed...”
The first rule is far more secure, and is the best approach to firewall design. It is far easier (and more secure)
to allow in or out only cer tain ser vices and deny anything else. If the other rule is used, you would have to figure
out ever ything that you want to disallow, now and future.
Firewall Logic
Firewall design is a test of logic, and filter rule ordering is critical. If a packet is passed through a series of filter
rules and then the packet matches a rule, the appropriate action is taken. The packet will not pass through the
remainder of the filter rules.
For example, if you had the following filter set...
Allow WWW access;
Allow FTP access;
Allow SMTP access;
Deny all other packets.
and a packet goes through these rules destined for FTP, the packet would pass through the first rule (WWW), go
through the second rule (FTP), matches this rule and the packet is allowed through.
If you had this filter set for example....
Allow WWW access;
Allow FTP access;
Deny FTP access;
Deny all other packets.
TCP Port
Service
UDP Port
Service
20/21
FTP
161
SNMP
23
Telnet
69
TFTP
25
SMTP
387
AURP
80
WWW
144
News
Содержание R2121
Страница 1: ...Netopia R2121 Dual Analog Router User s Reference Guide...
Страница 11: ...Contents ix G Index Index 1 Limited Warranty and Limitation of Remedies 1...
Страница 12: ...x User s Reference Guide...
Страница 20: ...User s Reference Guide...
Страница 30: ...2 8 User s Reference Guide...
Страница 50: ...4 4 User s Reference Guide Device Event History page WAN Event History page...
Страница 52: ...4 6 User s Reference Guide...
Страница 60: ...5 8 User s Reference Guide...
Страница 62: ...User s Reference Guide...
Страница 88: ...8 16 User s Reference Guide...
Страница 126: ...10 22 User s Reference Guide...
Страница 134: ...11 8 User s Reference Guide...
Страница 146: ...12 12 User s Reference Guide...
Страница 204: ...14 42 User s Reference Guide...
Страница 218: ...15 14 User s Reference Guide...
Страница 220: ...User s Reference Guide...
Страница 242: ...C 14 User s Reference Guide...
Страница 256: ...F 4 User s Reference Guide...
Страница 262: ...G 6 User s Reference Guide...
Страница 272: ...8 User s Reference Guide...
Страница 280: ...2 User s Reference Guide...