ppp with dynamic IPs and ipfw "me"
Oliver Fromme
olli at lurza.secnetix.de
Thu Jun 17 09:38:23 GMT 2004
Martin <nakal at web.de> wrote:
> Sometimes, I get disconnected with my DSL router and ppp
> reconnects me in background. This is correct so far, but
> I also get a new (dynamic) IP and it seems that ipfw
> does not forget my old IP.
>
> I noticed this behavior with the rules which restrict
> the communication to the ntpd-port 123.
I'm not sure if this is related to your problem, but you
have to kill and restart ntpd every time you get a new IP.
That's because ntpd binds to every IP address it finds upon
startup explicitely, not just to "*".
You can do that automatically with a ppp.linkup script.
Regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"That's what I love about GUIs: They make simple tasks easier,
and complex tasks impossible."
-- John William Chambless
More information about the freebsd-current
mailing list