Skip to content

Instantly share code, notes, and snippets.

@Docteur-RS
Created February 27, 2020 12:03
Show Gist options
  • Save Docteur-RS/f80973d8f4ad11a617b46a945746c741 to your computer and use it in GitHub Desktop.
Save Docteur-RS/f80973d8f4ad11a617b46a945746c741 to your computer and use it in GitHub Desktop.
cat before.txt
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ISTIO_OUTPUT tcp -- * * 0.0.0.0/0 0.0.0.0/0
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain ISTIO_IN_REDIRECT (1 references)
pkts bytes target prot opt in out source destination
0 0 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 redir ports 15001
Chain ISTIO_OUTPUT (1 references)
pkts bytes target prot opt in out source destination
0 0 RETURN all -- * lo 127.0.0.6 0.0.0.0/0
0 0 ISTIO_IN_REDIRECT all -- * lo 0.0.0.0/0 !127.0.0.1
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 owner UID match 107
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 owner UID match 0
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 owner GID match 107
0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 owner GID match 0
0 0 RETURN all -- * * 0.0.0.0/0 127.0.0.1
Chain ISTIO_REDIRECT (0 references)
pkts bytes target prot opt in out source destination
0 0 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 redir ports 15001
Chain PREROUTING (policy ACCEPT 38 packets, 2176 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 38 packets, 2176 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 22 packets, 1608 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 22 packets, 1608 bytes)
pkts bytes target prot opt in out source destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment