Flaky PPPoE and Dynamic gateway causes stale firewall states
-
Hey guys,
I have a pfsense installation at a site that has a pretty flaky PPPoE connection with a dynamic gateway. Whenever the PPPoE connection is re-established the WAN default gateway changes and all my asterisk trunks become UNREACHABLE until I manually clear the states.
I know that if my IP address was dynamic and changed the firewall states would be reset. I would assume that the same would occur if my default gateway were to change, but it does not.
Bug?
Feature?
Possible setting that will resolve this?I have tried all the firewall optimization settings and making SIP not use states, but none of that helps.
Thanks,
โ Jascha -
Looks like it might be related to this:
http://redmine.pfsense.org/issues/1629
-
Yeah, I looked at that bug, it's actually complete. My problem is that the IP doesn't change, just the default gateway.
I need to figure out how to trigger a state table reset when WAN default gateway changes.
-
There are references to the gateway in the rules, and likely the states, but I had thought when PPPoE disconnected it killed all states to the old gateway.