iptables查看所有的表
# 正常情况下
外部访问 → 你的服务器:32200 → kube-proxy 处理 → 转发到 Pod → 服务正常响应
# 添加这条规则后
外部访问 → 你的服务器:32200 → 强制重定向到端口1 → 端口1没有服务 → 连接拒绝
# 查看 filter 表(默认)
iptables -nL
# 或
iptables -t filter -nL
# 查看 nat 表
iptables -t nat -nL
# 查看 mangle 表
iptables -t mangle -nL
# 查看 raw 表
iptables -t raw -nL

浙公网安备 33010602011771号