IPFW question
MikeM
zlists at mgm51.com
Wed Mar 10 11:38:31 PST 2004
Since I reload the firewall rules remotely, I need the -q option on the
ipfw command, e.g.:
ipfw -q /etc/ipfw.conf
otherwise I lose my ssh connection to the box.
See man ipfw(8) for details on -q
On 3/10/2004 at 8:27 PM Thomas Vogt wrote:
|Hi
|
|ipfw flush # deletes all
|ipfw /etc/ipfw.conf # loads all
|
|regards
|Thomas
|
|Nagy László Zsolt wrote:
|>
|> Hi!
|>
|> I'm using my own ip firewall (firewall_type="/etc/ipfw.conf") on my
|> FreeBSD 5.2 system. My problem is, how can I reload the whole thing? The
|> ipfw command is for creating and deleting individual rules. What I would
|> like to do is to create profiles (different config files) and reload the
|> whole firewall configuration anytime. Is there a command for this? What
|> I do now is that I reboot my box every time I change firewall
|> configuration. But of course this is clumsy and very bad. I may start
|> services on the server which will not allow me to reboot daily. Thanks
|> in advance.
|>
|> Laci 2.0
|>
|> _______________________________________________
|> freebsd-questions at freebsd.org mailing list
|> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|> To unsubscribe, send any mail to
|> "freebsd-questions-unsubscribe at freebsd.org"
|>
|>
|
|_______________________________________________
|freebsd-questions at freebsd.org mailing list
|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to
|"freebsd-questions-unsubscribe at freebsd.org"
=============
More information about the freebsd-questions
mailing list