Professional Documents
Culture Documents
ЛЗ 3
ЛЗ 3
ЗВІТ
З ЛАБОРАТОРНОЇ РОБОТИ № 3
З ДИСЦИПЛІНИ « Технології створення та
застосування систем захисту кіберпростору»
Кузьменко Є.Р.
група БІ-142м
______________________
(підпис)
“__”______ 2022 р.
КИЇВ 2022
Мета роботи: набути практичних навичок щодо інсталювання,
конфігурування та супроводження брандмауерів (фаєрволів), а також умінь
щодо розробки ефективної політики міжмережевої взаємодії в ОС Windows та
Ubuntu (на базі ядра Linux 2.6).
Хід роботи
Now we add the IP addresses of the countries we want with the following
script. This script will get the list of all the IP addresses of the countries we want.
nano /root/ipset/ban-ip-countries.sh
Press CTRL + X to exit the editor and save the file.
Now that we have the list of IPs to ban, we just need to link them to the firewall
iptables. Create a file /root/iptables.sh :
Edit the file with nano /root/iptables.sh and add the following content:
Синтаксис команди: