PFSense configuration
If you have not yet registered for the service you can do so by clicking on the following link: Register here. Connect to the PFSense web panel and configure the Dynamic DNS (DDNS) service like this: » Service Type: Choose Custom. » Interface to monitor: Select WAN. » Interface to send update from: Select WAN.
»Username: Enter username/email of registration. »Password: Enter password, received via email to the address specified during registration. »Update URL: Paste the following instruction:
Click on [Diagnostic] and then on [Edit File]. Then click on [Browse] and, in the list below, open the folder etc. Finally, open the file called crontab and edit it as follows: » Look for the line ending with /etc/rc.dyndns.update, then edit the first column by entering the string */5 (The number following the characters */ stands for how often public IP synchronization will be forced). Also edit the second column by entering the character *. In this example the synchronization will be done every 5 minutes. When this is done click on the [Save] button to apply the changes.
PLEASE NOTE: In order to use the DDNS service correctly, the operation done is not sufficient since once the device is restarted, the change made to the crontab file will be lost. Therefore, it is necessary to proceed as follows: » Click [Browse] again and open the file called rc.bootup. » Look for the configure_cron() command; and comment it out by adding the # symbol at the beginning of the line, as you can see in the image below. Then click on [Save] to make the changes.
As a final step, you need to edit the rc.dyndns.update file, again within the etc. directory. To do this proceed as follows: » Search inside the file for the line containing the string /* Interface IP address has changed */ and add under it the following command: unlink("/conf/dyndns_wancustom'checkip'0.cache"); IMPORTANT: In our example the name of the WAN interface is wancustomer, so you will need to enter the correct command, based on the name of your WAN interface. » Then save by clicking [Save].
Set, either manually or through a DHCP Server, the following IPs as primary and secondary DNS respectively on the devices inside the network: » 185.236.104.104 » 185.236.105.105
Other ways to ask: » How to configure the PFSense router. » PFSense router configuration. How to.