とちゃき
05/30/2021 (Sun) 04:07:45
No.158562
del
#!/bin/sh
iptables -P INPUT DROP; iptables -P FORWARD DROP; iptables -P OUTPUT DROP
# ---
iptables -A INPUT -m state --state INVALID -j DROP
iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -j DROP
# ---
iptables -A FORWARD -j DROP
# ---
Message too long. Click here to view full text.