Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 14:31:55 -0400
From:      Lucas Holt <luke@foolishgames.com>
To:        freeBSD-Questions@FreeBSD.ORG
Subject:   Firewall rules for servers, UDP
Message-ID:  <68D72AEE-D273-11D7-A8D3-0030656DD690@foolishgames.com>

next in thread | raw e-mail | index | archive | help
I want to setup a firewall (ipfw) on my freebsd 4.8 p3 server.  The 
machine runs web, ftp, ssh, dns, smtp, and imap to the outside world.  
Does anyone have any links to example rules for servers?  (I've already 
looked at the handbook and man file)

My problem lies in UDP rules.  I think I have TCP figured out.  My 
first attempt blocked off DNS queries from the machine outward.  I 
could query the DNS server, but apps could not do lookups.  i figure it 
has something to do with ports above 1024, but I'm not sure how to 
define a rule with multi ports in a range, plus I don't know how high 
to go above 1024.  Is this the right action?  Ideas on syntax?

Lucas Holt
Luke@FoolishGames.com
________________________________________________________
FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)

"Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former."
- Albert Einstein (1879-1955)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68D72AEE-D273-11D7-A8D3-0030656DD690>