change to iptables
This commit is contained in:
10
iptables/install.sh
Normal file
10
iptables/install.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
install -m 755 china-block.sh /usr/local/sbin/china-block.sh
|
||||
install -m 755 china-unblock.sh /usr/local/sbin/china-unblock.sh
|
||||
install -m 644 china-block.service /etc/systemd/system/china-block.service
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now china-block
|
||||
echo "[+] china-block service installed and started."
|
||||
Reference in New Issue
Block a user