Save all iptables rules to a .txt file and restore later (as root user):
iptables-save > /path/to/my-iptables-rules.txt
iptables-restore < /path/to/my-iptables-rules.txt
Save all iptables rules to a .txt file and restore later (as root user):
iptables-save > /path/to/my-iptables-rules.txt
iptables-restore < /path/to/my-iptables-rules.txt
cmd:
iptables -L -n --line-numberThis command is very slow:
iptables -L
Solution?
Manchmal muss man alle IPs blockieren außer ein oder ein paar IPs. Das kann man mit IPTables erreichen. Die Reihenfolge ist wichtig.
Um gesperrte IPs zu sehen:
iptables -L INPUT -v -n --line-number
Um eine IP-Adresse zu entsperren, bzw. eine Zeile (zB 6) zu löschen:
iptables -D INPUT 6
Jemand schickt ständig Spam auf meiner Website. Ich wollte IP blockieren. Aber es geht nicht mit Hosteurope's SSH. Unter Admin Panel gibt es auch keine Option
# apf -d 117.21.252.148
-bash: apf: command not found
# iptables -A INPUT -s 117.21.252.148 -j DROP
-bash: iptables: command not found
Wie kann ich einen IP auf Hosteurope blockieren?
Ich besitze einen Hobby V-Server. In der letzter Zeit musste ich DOS und DDOS näher kennen lernen. Es gibt einen IP Block welche versucht immer Spam auf meinen Forum zu posten. Laut Whois kommen dieser IPs mal aus Kolumbien mal aus Ägypten oder Russland. Egal woher sie kommen möchte ich sie sperren bevor sie auf mein Forum etwas posten. Ich habe folgendes gefunden um IP-Blöcke mit Hilfe von APF/IPtables zu blockieren.
Unsere Game Server bekommt DDos Attacke aus Argentinien und manchmal auch aus andere Länder. Wir haben Iptables, APF etc aber es hilft nicht. Wenn unsere Administratoren gerade online sind, machen sie es über netstat + apf/iptables übers SSH mit folgendem Schritte:
Neueste Kommentare
Alternative (without warnings like "no crontab for user")
Alternative (without warnings like "no crontab for dovecot") to see all tasks:
php 8.3 apcu
php 8.3 apcu failed
über Plesk hat es geklappt.
phpize failed error?
install:
# sudo apt install php-devphpize
# sudo apt install…
phpize
# sudo apt install php-devdetails
Problem:
/opt/plesk/php/8.3…
Problem:
Problem:PHP APCu caching…
Problem:
Hilft "cp -avf old new && rm…
Hilft "
cp -avf old new && rm -rvf old"nicht?Same with Drush 13 + PHP 8.3 and my Solution
Same with Drush 13 + PHP 8.3
Error : Failed to install the required package 'RPM' by using AP
Initializing...
Error : Failed to install the required package 'RPM' by using APT. Please install it manually.
Exit
Solution:
Installieren & Aktivieren
So habe es installiert und dann mit Hilfe von Key/Code (über Website von Acronis Cyber Protect) aktiviert: