top of page

CONFIGURE THE FILTER ON PFSENSE DEVICES

To activate the content filtering service on Pfsense devices, follow these instructions:
 

Register for free at this link: Click here to register.
 

Log into your router Pfsense and configure Dynamic DNS client in this way:

– Select Custom as Service type.
– Choose WAN as Interface to monitor and to send update from.

Pfsense_DDNS1.png
  • Username: Type the email/username used for the registration.

  • Password: Digit your password.

  • Update URL: Copy and paste the following instruction:

Pfsense_DDNS3.png

 

  • Click on [Diagnostic] and, after that, on [Edit File].Click on [Browse] and, in the list below, open the directory etc. Finally, open the file called crontab and modify it as follows:
     

  • In the line ending with the string /etc/rc.dyndns.update, edit the first column by entering */5 (the number after */ indicates the time period between every forced synchronization process expressed in minutes). Then edit the second column by inserting *.
     

This way, synchronization is forced every 5 minutes.

  • After that, click on [Save] to apply the changes.

Pfsense_crontab.png

NB: In order to use the DNS service correctly, the changes so far described are not enough. If you reboot the device, the change in the crontab file will be lost, because the file gets overwritten during rebooting. To overcome this problem, do as follows:

  • Click again on [Browse] and open the file called rc.bootup.

  • Look for the command configure_cron(); and comment it by adding the # symbol at the beginning of the line (as you can see in the image above).

  • Click on [Save] to apply the changes.

Pfsense_bootup.png

Finally, it is also necessary to change the file rc.dyndns.update. To do that, follow the instructions below:
 

  • Search for the line /* Interface IP address has changed */ and add this command below it: unlink(‘/conf/dyndns_wancustom’checkip’0.cache’);

  • IMPORTANT: in our example the WAN name is wancustom, so you have to type the correct command, based on your WAN interface name.

  • Click on [Save] to apply the changes.

Pfsense_dyndnsupdate.png

Either manually or through a DHCP server, set the following IP addresses as the primary and secondary DNS respectively on the internal devices inside the network:

– 185.236.104.104
– 185.236.105.105

Congratulations!

You have correctly activated the filter on your Network.

bottom of page