restarting natd

John sephtin at techgodz.com
Wed May 7 13:52:50 PDT 2003


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 at prodigy.net.mx>
To: "freebsd-questions" <freebsd-questions at freebsd.org>; "Chuck Swiger"
<cswiger at 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 at mac.com>
> To: "freebsd-questions" <freebsd-questions at 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 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