Moves S.A.F.E. blocks into UFW
-
Load the script to your Endpoints server (suggest /usr/local/scripts/surf.php)
-
Edit constants at top of file (define lines)
-
Make the script executable chmod +x surf.php
-
Install php curl if not installed: apt-get install php-curl
-
Create cron job edit /etc/crontab, add line like */5 * * * * root /usr/local/scripts/surf.php 0