Problems with pfsense/ddc...
Problems with pfsense/ddclient
- Home
- Control Panel
- Community Forum
- Services
- Dynamic DNS Service
- Problems with pfsense/ddclient
- Community Forum
- Problems with pfsense/ddclient
Topic: Problems with pfsense/ddclient
Ive been using the service for some time now with ddclient running in Ubuntu to handle updates to the IP address.I recently setup point to point vpn in my pfsense router (to which the machine running ddclient is connected). What happens is my ddclient ends up updating the ip address with the one given to me by my VPN provider. I can tell because I can log into this site and change the IP back to the one provided by my ISP and then I can get to my website again. So first here is my ddclient config because if I can get it working right, maybe I dont need pfsense.# Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=3600syslog=yesprotocol=dyndns2use=if, if=eth0use=web, web=checkip.dyndns.com/, web-skip='IP Address'ssl=yesserver=api.dynu.comlogin=myloginpassword='mypasswd'mydomain.caSo the issue is that if=eth0 is returning the VPN given IP when I want the ISP given IP. Is there an easy substitution here? Over on the pfsense side (I'm on 2.2.5 since things seem to break in pfsense) I looked at this:http://www.dynu.com/DynamicDNS/IPUpdateClient/PFSenseI filled it out as shown with the same username and password I use in the ddclient config above. For "Update URL" field I was confused but I assume its api.dynu.comIf I save and force update, the IP address shows as 0.0.0.0. The logs say "phpDynDNS: (Error) Result did not match."If I empty the "result match" field (which should say "good" according to the link) then force update the IP address shows as the correct IP and the pfsense logs say:/services_dyndns_edit.php: phpDynDNS: (Success) IP Address Updated Successfully!But it never seems to actually update on the dynu side of things.Anyone seen this? Suggestions? does my username need to be "mylogin@mydomain.ca" instead of mylogin? I am using the Custom type for "Service type" as shown in the link above.Thanks for any advice. It seems like everyone else is having an easy time.
Reply with quote | Report
I had better luck using this:https://www.dynu.com/DynamicDNS/IPUpdateClient/CustomIts possible the original way was working too, but pfsense is kind of cagey about when it actually sends an update. Anyway, I used the SSL option to update all domains even though I only have one. I didnt fill in the user name and password boxes anymore either.It seems pfsense only really sends the update when the WAN address changes or once every month or something, so to verify it was working I told it to monitor the LAN address and switched back and forth between it and WAN and I could finally see the changes happening here on the dynu website.Hope this helps someone
Reply with quote | Report
Author | Topic: Problems with pfsense/ddclient |
---|---|
Thomas Kenny Joined: 02/12/2015 |
Problems with pfsense/ddclient 02 December 2015 13:10
Ive been using the service for some time now with ddclient running in Ubuntu to handle updates to the IP address.I recently setup point to point vpn in my pfsense router (to which the machine running ddclient is connected). What happens is my ddclient ends up updating the ip address with the one given to me by my VPN provider. I can tell because I can log into this site and change the IP back to the one provided by my ISP and then I can get to my website again. So first here is my ddclient config because if I can get it working right, maybe I dont need pfsense.# Configuration file for ddclient generated by debconf## /etc/ddclient.confdaemon=3600syslog=yesprotocol=dyndns2use=if, if=eth0use=web, web=checkip.dyndns.com/, web-skip='IP Address'ssl=yesserver=api.dynu.comlogin=myloginpassword='mypasswd'mydomain.caSo the issue is that if=eth0 is returning the VPN given IP when I want the ISP given IP. Is there an easy substitution here? Over on the pfsense side (I'm on 2.2.5 since things seem to break in pfsense) I looked at this:http://www.dynu.com/DynamicDNS/IPUpdateClient/PFSenseI filled it out as shown with the same username and password I use in the ddclient config above. For "Update URL" field I was confused but I assume its api.dynu.comIf I save and force update, the IP address shows as 0.0.0.0. The logs say "phpDynDNS: (Error) Result did not match."If I empty the "result match" field (which should say "good" according to the link) then force update the IP address shows as the correct IP and the pfsense logs say:/services_dyndns_edit.php: phpDynDNS: (Success) IP Address Updated Successfully!But it never seems to actually update on the dynu side of things.Anyone seen this? Suggestions? does my username need to be "mylogin@mydomain.ca" instead of mylogin? I am using the Custom type for "Service type" as shown in the link above.Thanks for any advice. It seems like everyone else is having an easy time.
|
thomasrbogtc Joined: 02/12/2015 |
Problems with pfsense/ddclient 03 December 2015 21:29
I had better luck using this:https://www.dynu.com/DynamicDNS/IPUpdateClient/CustomIts possible the original way was working too, but pfsense is kind of cagey about when it actually sends an update. Anyway, I used the SSL option to update all domains even though I only have one. I didnt fill in the user name and password boxes anymore either.It seems pfsense only really sends the update when the WAN address changes or once every month or something, so to verify it was working I told it to monitor the LAN address and switched back and forth between it and WAN and I could finally see the changes happening here on the dynu website.Hope this helps someone
|
It is currently 27 December 2024 09:18 US Mountain Standard Time
27 December 2024 09:18