Add Debian 11 scripts

This commit is contained in:
2023-11-19 23:04:42 +01:00
parent d496861741
commit 8b08184b54
35 changed files with 1991 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
apt install -y rinetd
nano /etc/rinetd.conf
systemctl restart rinetd
if [ -f "/etc/iptables/rules.v4" ]; then
sed -i '/^-A INPUT -i lo -j ACCEPT.*/a # RINETD' /etc/iptables/rules.v4
nano /etc/iptables/rules.v4
iptables-restore /etc/iptables/rules.v4
fi