Deleting IP Filter Rules
To delete a rule, use the ipfw delete command. This example deletes rule 200:
ipfw delete 200
For more information, consult the man pages for ipfw.
Port Reference
The following tables show the TCP and UDP port numbers commonly used by Mac OS X computers and Mac OS X Servers. These ports can be used when you’re setting up your IP filters. See the website www.faqs.org/rfcs to view the RFCs referenced in the tables.
TCP port | Used for | Reference |
7 | echo | RFC 792 |
|
|
|
20 | FTP data | RFC 959 |
|
|
|
21 | FTP control | RFC 959 |
|
|
|
22 | ssh (secure shell) |
|
|
|
|
23 | Telnet | RFC 854 |
|
|
|
25 | SMTP (email) | RFC 821 |
|
|
|
53 | DNS | RFC 1034 |
|
|
|
79 | Finger | RFC 1288 |
|
|
|
80 | HTTP (Web) | RFC 2068 |
|
|
|
88 | Kerberos | RFC 1510 |
|
|
|
106 | Open Directory Password Server |
|
| (along with 3659) |
|
|
|
|
110 | POP3 (email) | RFC 1081 |
|
|
|
111 | Remote Procedure Call (RPC) | RFC 1057 |
|
|
|
113 | AUTH | RFC 931 |
|
|
|
115 | sftp |
|
|
|
|
119 | NNTP (news) | RFC 977 |
|
|
|
123 | Network Time Server | RFC 1305 |
| synchronization (NTP) |
|
|
|
|
137 | Windows Names |
|
|
|
|
138 | Windows Browser |
|
|
|
|
139 | Windows file and print (SMB) | RFC 100 |
|
|
|
143 | IMAP (email access) | RFC 2060 |
|
|
|
Chapter 3 IP Firewall Service
63