CONTENTS

Firewalls: Filtering TCP Traffic

1. How to Filter TCP Traffic with a Specific Port . 

1.  Configuring the console computer. 

a.   Log-in or continue the session

b.   Type in the following commands:

This filter will allow TCP traffic from any host to any destination to connect to a destination port number 21, which is an FTP port number.  The syntax for this rule is: 

>set filter [filter name] [rule number] [permit/deny] [source address]
[destination address] [tcp/udp/icmp] [src/dst] eq [port number]

Use 0.0.0.0/0 as all network addresses

2. Question: On the client computer can you

1.  Open the FTP connection __________
2.  Open the telnet connection __________
3.  PING to the server __________