OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of CGrisamore »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - CGrisamore

Pages: [1] 2
1
22.1 Legacy Series / Re: os-ddclient
« on: December 21, 2022, 08:25:29 pm »
I use custom as my provider isn't on the drop-down list. Since yours is an available selection I'd stick with what you've got.  For server I think its just going to be dnsmadeeasy.com.  The username and password entries should go in the designated blanks. As I don't use your provider I'm not positive whether the record id is your domain name (but I suspect that it probably is) which means I'd put that value in the hostname field.



2
22.1 Legacy Series / Re: os-ddclient
« on: December 21, 2022, 07:32:12 pm »
Did you create and save an entry on the Dynamic DNS settings page like screenshots below?






3
22.1 Legacy Series / Re: os-ddclient
« on: December 21, 2022, 06:19:39 pm »
Did you enable it?
What do you see in the log?

4
22.1 Legacy Series / Re: os-ddclient
« on: December 21, 2022, 05:38:48 pm »
Yes.  Add new lines to ddclient.conf with the dns made easy parameters outlined in the earlier message and (obviously) replace the placeholder labels with your real username password and whatever that record id parameter is.

5
22.1 Legacy Series / Re: os-ddclient
« on: December 21, 2022, 05:23:23 pm »
Looking at the ddclient github site their master config file shows that it supports dns made easy (see required syntax below). 

## DNS Made Easy (https://dnsmadeeasy.com) ##
protocol=dnsmadeeasy,
login=your-account-email-address
password=your-generated-password
your-numeric-record-id-1,your-numeric-record-id-2,...


 You may have to manually edit the ddclient.conf file located in the /usr/local/etc directory on your OPNsense box
to populate it with all of the required parameters.

6
22.7 Legacy Series / Re: os-ddclient needs a way to test new config
« on: August 11, 2022, 02:12:41 pm »
Can't you just stop and restart the service from the Services: Dynamic DNS: Settings submenu?

7
General Discussion / Re: Cant get firewall rules to work
« on: July 18, 2022, 04:03:54 pm »
I am running a similar setup using Adguard Home on a VM as my internal DNS server/adblocker. I used the info in the discussion at the link below to set everything up.

https://forum.opnsense.org/index.php?topic=22162

8
22.1 Legacy Series / Re: Create Image of my current installation
« on: July 13, 2022, 01:32:26 am »
Maybe Clonezilla?

9
General Discussion / Re: Does anyone have a DDNS-setup i can copy?
« on: July 09, 2022, 01:29:36 pm »
Not specifically listed in the Opnsense GUI but it is supported by the plugin. Select 'custom' for the service in the GUI.

I have attached a screenshot of my OPNsense Dyndns menu.  This minimal setup creates the initial ddclient.conf file.  After enabling and saving then manually edit the config file to match content from my first message.

10
General Discussion / Re: Does anyone have a DDNS-setup i can copy?
« on: July 06, 2022, 10:53:42 pm »
Happy to help.  I use https://freemyip.com.

No need to register, just to go to the website and create the name of your domain and you will receive a token (save it!).

Below is a copy of my ddclient.conf file.  Enter your token on the password line and change the last line to match the domain name that you created.


daemon=360
syslog=yes
pid=/var/run/ddclient.pid
ssl=yes
verbose=yes
use=if, if=igb0
use=web, web=freemyip.com/checkip
protocol=freemyip,
password=YOUR_TOKEN
YOURDOMAIN.freemyip.com

11
22.1 Legacy Series / Re: os-ddclient
« on: June 23, 2022, 04:26:07 pm »
I performed the upgrade this morning to 22.1.9 (which included an update to the ddclient plugin).  After rebooting I found that my existing ddclient.conf file had been replaced with a newly generated version which contained the content previously entered in the OPNsense web interface.  I had manually edited my ddclient.conf file as my provider uses a token which contains an ampersand and the OPNsense web form would not allow entry of an ampersand so had I not spotted this I would have been left with a nonworking configuration.

Heads up to all who have manually customized ddclient.conf, after upgrading  check your ddclient.conf  file located in /usr/local/etc directory.  Lucky I had a copy saved elsewhere that I could transfer to the OPNsense box.

12
22.1 Legacy Series / Re: os-ddclient with No-Ip not finding an IP
« on: June 22, 2022, 11:12:37 pm »
True. You have to edit the ddclient.conf file directly.

13
22.1 Legacy Series / Re: os-ddclient with No-Ip not finding an IP
« on: June 22, 2022, 04:34:39 pm »
I've had good luck with using the 'web' method of checking IP.  As a test, comment out the below line in your ddclient.conf file:

use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -i pppoe0 -t 1 -s noip-ipv4",


and insert these:

use=if, if=igb0
use=web, web=freemyip.com/checkip



Note: igb0 is my WAN connection, if yours is different you will need to adjust.

14
22.1 Legacy Series / Re: os-ddclient
« on: June 13, 2022, 02:43:08 pm »
Yes, very confusing.  Have you considered using chmod to set permissions of ddclient.conf to read only? 

15
22.1 Legacy Series / Re: os-ddclient
« on: June 13, 2022, 02:29:04 pm »
This morning I upgraded to 22.1.8_1 and  rebooted afterwards.

ddclient continues to work and ddclient.conf time and date stamp remains unchanged and unaffected by rebooting.


Pages: [1] 2
OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2