OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • Dynddns can't determine public IP
« previous next »
  • Print
Pages: [1]

Author Topic: Dynddns can't determine public IP  (Read 2630 times)

kjp4756

  • Newbie
  • *
  • Posts: 4
  • Karma: 2
    • View Profile
Dynddns can't determine public IP
« on: July 18, 2020, 02:34:18 am »
OPNsense 20.1.8_1-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
LibreSSL 3.0.2

I'm trying to get dyndns working with cloudflare.  I have a simple set up with just a static ipv4 ip (ipv6 is disabled).  I get the following error in log files when trying to update cloudflare.  The overview page under interfaces shows an IP.

opnsense: /services_dyndns_edit.php: Dynamic DNS (xxxxxxt) There was an error trying to determine the public IP for interface - wan(vtnet1). Probably interface is not a WAN interface.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: Dynddns can't determine public IP
« Reply #1 on: July 18, 2020, 10:51:47 am »
Does your WAN interface have an RFC 1918 IP address?

Bart...
Logged

kjp4756

  • Newbie
  • *
  • Posts: 4
  • Karma: 2
    • View Profile
Re: Dynddns can't determine public IP
« Reply #2 on: July 18, 2020, 07:34:09 pm »
No it doesn't.  It's a "real" IP.  235.xxx.xxx.xxx.  Strange thing is; I used to use the namecheap dyndns setting and that one works without trouble.  The cloudflare v6 token doesn't appear to work for me.
Logged

kjp4756

  • Newbie
  • *
  • Posts: 4
  • Karma: 2
    • View Profile
Re: Dynddns can't determine public IP
« Reply #3 on: July 18, 2020, 07:52:39 pm »
Got it working using the "Cloudflare API Token" service rather than the v6 one.

EDIT:  I see what happened now.  v6 refers to ipv6.  Of course that won't work for me with ipv6 disabled.  I thought the v6 referred to the api version or something.
« Last Edit: July 18, 2020, 11:05:18 pm by kjp4756 »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.1 Legacy Series »
  • Dynddns can't determine public IP
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2