Subject: ipf rules
To: None <netbsd-users@netbsd.org>
From: Andrei Zaitsau <mertis@ameritech.net>
List: netbsd-users
Date: 03/14/2001 22:04:59
Hello Everyone,
Is there is a way to filter packets on source port / destination port with
ipf?
Can anyone give me some examples?
How do I block napster ? Gamespy? IRC?
for examples I have 3 machines
Gateway is 192.168.0.1
1st machine: 192.168.0.2
2nd machine: 192.168.0.3
3rd machine: 192.168.0.4

for example if I want to block Napster(6699) & IRC(7000) for machine 2 and
leave other services as HTTP and FTP enabled. How do I write the rule
correctly?
Can someone give me example so I would understand.?
Thanks.