- Copy iptables.firewall.rules to /etc
these rules only allow 80/TCP, 443/TCP and 22/TCP
- Execute block-china.sh
- Add to crontab :
crontab -e
0 5 * * * /etc/block-china.sh > /dev/null 2>&1
you can check with the commande iptables -L
these rules only allow 80/TCP, 443/TCP and 22/TCP
crontab -e
0 5 * * * /etc/block-china.sh > /dev/null 2>&1
you can check with the commande iptables -L