Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:dpi_bestpractice:dpi_bestpractice_school_white_list [2021/11/11 00:05] – kuligina | en:dpi:dpi_bestpractice:dpi_bestpractice_school_white_list [2023/08/28 14:53] (current) – removed elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 5 Domains Allow list for School ====== | ||
- | {{indexmenu_n> | ||
- | |||
- | <note important> | ||
- | |||
- | Example of creating " | ||
- | The list initially presented by:\\ | ||
- | ООО " | ||
- | Vetunev Sergey Nikolaevich\\ | ||
- | System Administrator\\ | ||
- | nightlord34@yandex.ru\\ | ||
- | |||
- | In order to make additions to the list please provide the domain list to be excluded/ | ||
- | Domain allow list for school updated: 28.11.2017\\ | ||
- | |||
- | yum -y install wget | ||
- | | ||
- | mkdir / | ||
- | | ||
- | # remove old lists | ||
- | rm -f *.txt | ||
- | | ||
- | # download lists, one for HTTP and another for HTTPS(SNI) | ||
- | wget www.vasexperts.ru/ | ||
- | | ||
- | # convert it | ||
- | cat white_school.txt | url2dic white_school.bin | ||
- | | ||
- | # create profile | ||
- | # Note that in order to update the lists, the following command is enough to be repeated with a different list file name | ||
- | fdpi_ctrl load profile --service 5 --profile.name school_white --profile.json '{ " | ||
- | | ||
- | # assign the list for the subscriber | ||
- | fdpi_ctrl load --service 5 --profile_name school_white --login user02 | ||
- | or | ||
- | fdpi_ctrl load --service 5 --profile_name school_white --ip 192.168.0.11 | ||
- | # see the fdpi_ctrl description in more detail | ||