IP-Tables: Unterschied zwischen den Versionen
Aus WikiStar
(Die Seite wurde neu angelegt: „== IP ent- & sperren == '''Einfügen''' iptables -I INPUT -s 95.110.230.97 -j REJECT --reject-with icmp-host-unreachable '''Überprüfen''' iptables -L -n …“) |
|||
| Zeile 12: | Zeile 12: | ||
iptables -D INPUT -s 5.145.19.153 -j REJECT --reject-with icmp-host-unreachable | iptables -D INPUT -s 5.145.19.153 -j REJECT --reject-with icmp-host-unreachable | ||
iptables -D INPUT -s 46.127.234.151 -j DROP | iptables -D INPUT -s 46.127.234.151 -j DROP | ||
| + | |||
| + | |||
| + | '''ausgehende einfügen''' | ||
| + | iptables -A OUTPUT -d 162.212.255.105/20 -j DROP | ||
Aktuelle Version vom 21. Mai 2014, 07:48 Uhr
IP ent- & sperren[Bearbeiten]
Einfügen
iptables -I INPUT -s 95.110.230.97 -j REJECT --reject-with icmp-host-unreachable
Überprüfen
iptables -L -n | grep 66.249.76.203
Löschen
iptables -D INPUT -s 5.145.19.153 -j REJECT --reject-with icmp-host-unreachable iptables -D INPUT -s 46.127.234.151 -j DROP
ausgehende einfügen
iptables -A OUTPUT -d 162.212.255.105/20 -j DROP