Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2003 15:52:43 -0500
From:      "John" <sephtin@techgodz.com>
To:        "Alfonso Romero" <ibac@prodigy.net.mx>, "Chuck Swiger" <cswiger@mac.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: restarting natd
Message-ID:  <010301c314da$9ca32730$8122410a@corporate.amfam.com>
References:  <011f01c3135a$688d9740$0100a8c0@ibac> <3EB7FD22.5020208@mac.com> <005901c314ba$fd5b5680$0100a8c0@ibac>

next in thread | previous in thread | raw e-mail | index | archive | help
You guys do it the hard way.

Here's how I restart ipf and ipnat:
reload your IPF rules file:     ipf -Fa -f /etc/ipf.rules
Reload your IPNAT rules file:	ipnat -FC -f /etc/ipnat.rules

enjoy,
John
----- Original Message -----
From: "Alfonso Romero" <ibac@prodigy.net.mx>
To: "freebsd-questions" <freebsd-questions@freebsd.org>; "Chuck Swiger"
<cswiger@mac.com>
Sent: Wednesday, May 07, 2003 12:06 PM
Subject: Re: restarting natd


> Thanks, I have local access to nat. I just wonder why isnīt there
> any -restart option like with apachectl...
>
>
> Alfonso Romero
> ----- Original Message -----
> From: "Chuck Swiger" <cswiger@mac.com>
> To: "freebsd-questions" <freebsd-questions@freebsd.org>
> Sent: Tuesday, May 06, 2003 1:21 PM
> Subject: Re: restarting natd
>
>
> > Alfonso Romero wrote:
> >  > How can I restart natd? Using kill -s HUP <pidnumber>?
> >  > Or is there another more conservative way?
> >
> > Be careful if you are killing natd remotely.  You might want to do
> > something like:
> >
> > kill `cat /var/run/natd.pid` && /sbin/natd _flags_
> >
> > ...if you are not local to the system running natd.  Or reboot.  :-)
> >
> > -Chuck
> >
> >
> > _______________________________________________
> > 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?010301c314da$9ca32730$8122410a>