IP-Tables

Aus WikiStar
Wechseln zu: Navigation, Suche

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