DUCKDNS Pfsense Using VPN IP Address not ISP IP Address
-
I am trying to use duckdns with Pfsense. But Duckdns keeps getting updated with my VPN IP and not my ISP IP address. No matter what I do it will always revert back to my VPN IP address.
If manually go in and edit my DuckDns Dynamic DNS Client in pfsense, by forcing a save & force update it will give duckdns my correct ISP IP. But within 10 mins, duckdns will revert back to my VPN IP.
Anyone have any ideas?
Thank you. -
What is you system default route? Via the VPN?
How do you have the DynDNS client configured?
Do you have a client configured for it on any other host? Behind the firewall perhaps?
Steve
-
I have PIA VPN running on Pfsense and that is where all my traffic is routed though. I do not have a duckdns client on another machine, I use pfsense to send the update to Duckdns.
This is how I configured it. I just followed what duckdns has on their install guide. https://www.duckdns.org/install.jsp
https://www.duckdns.org/update?domains=mydomainname&token=mytoken&ip=%IP%
OKHere is a screenshot of my pfsense. https://ibb.co/N9gNwtG
If I hit the save & force update in pfsense it works, but only for about 5 or 10 mins, and I don't have an updater on any other machine.
-
Hmm, try enabling verbose logging there and see what it shows at the next automatic update.
10 mins is odd though unless you are seeing the WAN change in that time. It would normally only update once a day otherwise.
Steve
-
I appreciate your help on this.
I forced and update and then 5 mins later duckdns was using my vpn ip. And the log shows nothing.
All that is in the log is the following. There is no sign of the auto update to duckdns with my VPN IP.
Apr 14 20:18:28 php-fpm 88277 /services_dyndns_edit.php: phpDynDNS (): (Success) IP Address Updated Successfully!
Apr 14 20:18:28 php-fpm 88277 /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wancustom''0.cache: "my ISP ip was here" -
Hmm, it seems likely that something else is updating it then. Some other client is running somewhere and is routed via the VPN. I can't see any other way that could happen.
Steve
-
I think your are correct. I made a 2nd address with DuckDns called duck2name and added this one to Pfsense and removed the original address. It now stays correct. I cannot figure out what other device I have on my network that is updating this first name with duckdns. I guess this means I have to many devices... I guess I could use wireshark or something to figure it out. Or just simply go around unplugging devices until I find the correct one.
You can see with this screen shot that the 1st original address continues to be updated. While the 2nd one I created does not.
Thanks for you help.
https://ibb.co/0JPPnH6
-
@choder said in DUCKDNS Pfsense Using VPN IP Address not ISP IP Address:
I guess this means I have to many devices...
Ha, could be!
-
This post is deleted!