Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 08:05:22 +0100
From:      =?ISO-8859-2?Q?Nagy_L=E1szl=F3_Zsolt?= <nagylzs@freemail.hu>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: IPFW question
Message-ID:  <40500FB2.8070809@freemail.hu>
References:  <404F63D6.3070204@freemail.hu> <404F6C3D.3040806@gmx.net> <200403101438290738.04DF874F@sentry.24cl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for all, it has been a great help.

MikeM wrote:

>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@freebsd.org mailing list
>|> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>|> To unsubscribe, send any mail to 
>|> "freebsd-questions-unsubscribe@freebsd.org"
>|> 
>|> 
>|
>|_______________________________________________
>|freebsd-questions@freebsd.org mailing list
>|http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>|To unsubscribe, send any mail to
>|"freebsd-questions-unsubscribe@freebsd.org"
>
> =============
>
>
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
>
>
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40500FB2.8070809>