Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 18:41:23 +0200
From:      Martin <nakal@web.de>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   ppp with dynamic IPs and ipfw "me"
Message-ID:  <1087404082.795.28.camel@klotz.local>

next in thread | raw e-mail | index | archive | help

Hello,

I've a strange effect here when using "ppp -ddial" with my
ISP and my firewall rules.

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.

The rules look like this:
allow udp from xx.xx.xx.xx 123 to me dst-port 123
allow udp from me 123 to xx.xx.xx.xx dst-port 123

After I get a new IP, the logs show that the communication
from "me" to xx.xx.xx.xx is blocked.

I'm on DSL here (using PPPoE and NAT).

Is this a bug or should I update the rules myself?
If yes, what is the best way to update the rules?

Martin




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