Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 14:38:29 -0500
From:      "MikeM" <zlists@mgm51.com>
To:        "Thomas Vogt" <turbo23@gmx.net>, "Nagy László Zsolt" <nagylzs@freemail.hu>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: IPFW question
Message-ID:  <200403101438290738.04DF874F@sentry.24cl.com>
In-Reply-To: <404F6C3D.3040806@gmx.net>
References:  <404F63D6.3070204@freemail.hu> <404F6C3D.3040806@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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=E1szl=F3 Zsolt wrote:
|> 
|>  Hi!
|> 
|> I'm using my own ip firewall (firewall_type=3D"/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"

 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D





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