ipfw config ....

Dan Busarow dan at buildingonline.com
Wed Aug 6 15:41:22 UTC 2014


firewall_type should be

firewall_type="workstation"

and you also need to specify the IPs that can access firewall_myservices

firewall_allowservices="1.2.3.4"

or

firewall_allowservices="any"

Dan
-- 
 Dan Busarow
 BuildingOnline.com
 http://www.BuildingOnline.net/
 888-496-6648 ext 218

On 8/6/14, 8:46 AM, William A. Mahaffey III wrote:
> 
> 
> .... I am trying to get ipfw up & running on my newly minted FreeBSD 9.3
> workstation .... To that end, I added the following to my rc.conf &
> typed in 'service ipfw start', & the ssh connection I was/am working
> over hung/crashed ....
> 
> rc.conf:
> 
> firewall_enable="YES"
> firewall_type="/etc/ipfw.conf  workstation"
> firewall_quiet="NO"
> firewall_logdeny="YES"
> firewall_myservices="NFS,SSH,NTP"
> 
> I'm fairly sure the 1st line needs to be there, guessing about the rest.
> I can't find out where logged messages are going (some come to the
> screen, a few to /var/log/messages, anything else: ????). Any clues
> appreciated :-) ....
> 
> 


More information about the freebsd-questions mailing list