Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 12:01:24 -0600
From:      SigmaX <scottclansman@cwazy.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   IPFW config
Message-ID:  <421A21F4.1050509@cwazy.co.uk>

next in thread | raw e-mail | index | archive | help
Heya;
I have a FreeBSD 5.3 server that I access over SSH.  I followed the 
handbook guide to loading the ipfw kernel module to setup a firewall.  I 
made the mistake the other day of loading the firewall, which defaults 
to block all, and rebooting, so I couldn't get into the system again 
(Had to drive in and fix it :-P).  Anyway, what I need to know is how to 
edit the ruleset manually BEFORE enabling the firewall.  I need to set 
the rules, then load the kernel module, not vise versa.  I've never 
dealt with ipfw without webmin, so I need some explicit answers :-).
What I need to do its this:

Set IPFW to allow traffic on ports 80, 10000, and 23 (That's the default 
SSH port, right?)
Then start IPFW with the kernel module (I know how to do this)

    Thanx,
         SigmaX

-- 
Registered Linux Freak #: 366,862

"If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421A21F4.1050509>