istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tools/istio-iptables/pkg/capture/testdata/drop-invalid.golden (about) 1 iptables -t nat -N ISTIO_INBOUND 2 iptables -t nat -N ISTIO_REDIRECT 3 iptables -t nat -N ISTIO_IN_REDIRECT 4 iptables -t nat -N ISTIO_OUTPUT 5 iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP 6 iptables -t nat -A ISTIO_INBOUND -p tcp --dport 15008 -j RETURN 7 iptables -t nat -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-ports 15001 8 iptables -t nat -A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006 9 iptables -t nat -A OUTPUT -p tcp -j ISTIO_OUTPUT 10 iptables -t nat -A ISTIO_OUTPUT -o lo -s 127.0.0.6/32 -j RETURN 11 iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --uid-owner 1337 -j ISTIO_IN_REDIRECT 12 iptables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --uid-owner 1337 -j RETURN 13 iptables -t nat -A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN 14 iptables -t nat -A ISTIO_OUTPUT -o lo ! -d 127.0.0.1/32 -p tcp ! --dport 15008 -m owner --gid-owner 1337 -j ISTIO_IN_REDIRECT 15 iptables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --gid-owner 1337 -j RETURN 16 iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN 17 iptables -t nat -A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN 18 iptables-save