istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tools/istio-iptables/pkg/capture/testdata/ipv6-empty-inbound-ports.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 nat -A ISTIO_INBOUND -p tcp --dport 15008 -j RETURN
     6  iptables -t nat -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-ports 15001
     7  iptables -t nat -A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
     8  iptables -t nat -A OUTPUT -p tcp -j ISTIO_OUTPUT
     9  iptables -t nat -A ISTIO_OUTPUT -o lo -s 127.0.0.6/32 -j RETURN
    10  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
    11  iptables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --uid-owner 1337 -j RETURN
    12  iptables -t nat -A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN
    13  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
    14  iptables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --gid-owner 1337 -j RETURN
    15  iptables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN
    16  iptables -t nat -A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN
    17  ip6tables -t nat -N ISTIO_INBOUND
    18  ip6tables -t nat -N ISTIO_REDIRECT
    19  ip6tables -t nat -N ISTIO_IN_REDIRECT
    20  ip6tables -t nat -N ISTIO_OUTPUT
    21  ip6tables -t nat -A ISTIO_INBOUND -p tcp --dport 15008 -j RETURN
    22  ip6tables -t nat -A ISTIO_REDIRECT -p tcp -j REDIRECT --to-ports 15001
    23  ip6tables -t nat -A ISTIO_IN_REDIRECT -p tcp -j REDIRECT --to-ports 15006
    24  ip6tables -t nat -A OUTPUT -p tcp -j ISTIO_OUTPUT
    25  ip6tables -t nat -A ISTIO_OUTPUT -o lo -s ::6/128 -j RETURN
    26  ip6tables -t nat -A ISTIO_OUTPUT -o lo ! -d ::1/128 -p tcp ! --dport 15008 -m owner --uid-owner 1337 -j ISTIO_IN_REDIRECT
    27  ip6tables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --uid-owner 1337 -j RETURN
    28  ip6tables -t nat -A ISTIO_OUTPUT -m owner --uid-owner 1337 -j RETURN
    29  ip6tables -t nat -A ISTIO_OUTPUT -o lo ! -d ::1/128 -p tcp ! --dport 15008 -m owner --gid-owner 1337 -j ISTIO_IN_REDIRECT
    30  ip6tables -t nat -A ISTIO_OUTPUT -o lo -m owner ! --gid-owner 1337 -j RETURN
    31  ip6tables -t nat -A ISTIO_OUTPUT -m owner --gid-owner 1337 -j RETURN
    32  ip6tables -t nat -A ISTIO_OUTPUT -d ::1/128 -j RETURN
    33  iptables-save
    34  ip6tables-save