使用防火墙,可以搭配docker和nftables使用: bash <(curl -s https://raw.githubusercontent.com/Despoty/sh/refs/heads/main/firewall_setup.sh) 如果使用iptables,则使用 bash <(curl -s https://raw.githubusercontent.com/Despoty/sh/refs/heads/main/firewall_iptables.sh)