Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dynamic dns update problems from pfsense behind external router (double-nat)

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 1 Posters 801 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • _
      _igor_
      last edited by _igor_

      I got a new router from my ISP due to upgrade of speed. Before i had just a modem connected to the wan-port of pfsense, now its the new router. That router doesnt support PPPOE-passthrough, so i put the pfsense as exposed host:

      Internet---(wan) router (lan)-----------------(wan) pfsense (lan)---intranet
      (PPPOE) ---------- 10.11.11.1 ------------- 10.11.11.2 -------- 10.12.12.1

      The router lan-port has a fixed IP (10.11.11.1), pfsense wan-port has a fixed IP too (10.11.11.2).
      All services work, VPN-connections work too, pfSense is set to pure-nat (advanced/misc).
      Dynamic-dns update fails therefore. Its showing the actual IP in red, not green.
      When ISP changes IP due to reconnect, pfsense still shows the old IP.
      When i manually force an IP-check (Services/dyn-dns/edit/force update), nothing changes. Say, IP remains at old state.
      If i reboot pfsense, it gets the new IP, for a short time it gets displayed in green, but then changes back to red. But its still showing the "right" new IP.

      log-entry after reboot:
      Mar 23 11:27:42 php-fpm 358 /rc.dyndns.update: phpDynDNS (): (Success) IP Address Updated Successfully!
      Mar 23 11:27:42 php-fpm 358 /rc.dyndns.update: phpDynDNS: updating cache file /conf/dyndns_wancustom''0.cache: 81.173.152.46
      Mar 23 11:27:42 php-fpm 358 /rc.dyndns.update: Dynamic DNS custom (): 81.173.152.46 extracted from Check IP Service

      manual IP-check:
      Mar 23 12:11:19 php-fpm 359 /services_dyndns_edit.php: Dynamic DNS (): führe get_failover_interface für wan aus. em0 gefunden
      Mar 23 12:11:19 php-fpm 359 /services_dyndns_edit.php: Dynamisches DNS: updatedns() wird gestartet

      from console:
      curl -s https://wtfismyip.com/text -> shows actual (new) IP
      same is shown from any host inside lan (pfsense-lan)

      _ 1 Reply Last reply Reply Quote 0
      • _
        _igor_ @_igor_
        last edited by

        Finally got it! snort was blocking the check-IP service. Added the corresponding suppressions and all works fine again!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.