Benutzer-Werkzeuge

Webseiten-Werkzeuge


iptables

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
iptables [31.01.2024] – angelegt hochrathiptables [31.01.2024] (aktuell) – [Firewallregeln] hochrath
Zeile 9: Zeile 9:
 iptables -L iptables -L
 </code> </code>
 +
 +\\
 +Regeln sichern und wiederherstellen:\\
 +<code>
 +sudo su
 +iptables-save > /home/pi/fwregeln.txt
 +iptables-restore < /home/pi/fwregeln.txt
 +
 +</code>
 +
 +\\
 +Aktuelle FW-Regeln:\\
 +
 +<code>
 +benutzer@rechner:/home/pi# iptables -L
 +Chain INPUT (policy ACCEPT)
 +target     prot opt source               destination
 +DROP       all  --  64.227.99.0/24       anywhere
 +DROP       all  --  107.170.192.0/24     anywhere
 +DROP       all  --  38.132.109.0/24      anywhere
 +DROP       all  --  ebuuv1re2tg.expanse.co/24  anywhere
 +DROP       all  --  ebuuv1re2tg.expanse.co/24  anywhere
 +DROP       all  --  146.88.241.0/24      anywhere
 +DROP       all  --  71.6.134.0/24        anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  167.94.138.0/24      anywhere
 +DROP       all  --  94.102.61.0/24       anywhere
 +DROP       all  --  fqydoihpxto.expanse.co/24  anywhere
 +DROP       all  --  fqydoihpxto.expanse.co/24  anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  154.209.125.0/24     anywhere
 +DROP       all  --  167.248.133.0/24     anywhere
 +DROP       all  --  66.23.234.0/24       anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  192.241.234.0/24     anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  fqydoihpxto.expanse.co/24  anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  ebuuv1re2tg.expanse.co/24  anywhere
 +DROP       all  --  146.88.241.0/24      anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  192.241.239.0/24     anywhere
 +DROP       all  --  107.170.252.0/24     anywhere
 +DROP       all  --  167.248.133.0/24     anywhere
 +DROP       all  --  45.79.140.0/24       anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  106.75.162.0/24      anywhere
 +DROP       all  --  38.132.109.0/24      anywhere
 +DROP       all  --  71.6.134.0/24        anywhere
 +DROP       all  --  194.187.176.0/24     anywhere
 +DROP       all  --  no-mans-land.m247.com/24  anywhere
 +DROP       all  --  94.102.61.0/24       anywhere
 +DROP       all  --  fqydoihpxto.expanse.co/24  anywhere
 +
 +Chain FORWARD (policy ACCEPT)
 +target     prot opt source               destination
 +
 +Chain OUTPUT (policy ACCEPT)
 +target     prot opt source               destination
 +</code>
 +
 +
 +
 +\\
 +Quellen:\\
 +https://wiki.ubuntuusers.de/iptables/\\
 +https://www.ionos.de/digitalguide/server/tools/iptables-tutorial-regelwerk-fuer-datenpakete-erstellen/\\
iptables.1706692462.txt.gz · Zuletzt geändert: 31.01.2024 von hochrath