@cpretzer Sorry for the previous post. I had a mistake while injecting the pod which is why the error was occurring
This is the actual output of the linkerd-init logs
2020/07/09 14:08:48 Tracing this script execution as [1594303728]
2020/07/09 14:08:48 State of iptables rules before run:
2020/07/09 14:08:48 > iptables -t nat -vnL
2020/07/09 14:08:48 < 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
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
2020/07/09 14:08:48 > iptables -t nat -F PROXY_INIT_REDIRECT
2020/07/09 14:08:48 < iptables: No chain/target/match by that name.
2020/07/09 14:08:48 > iptables -t nat -X PROXY_INIT_REDIRECT
2020/07/09 14:08:48 < iptables: No chain/target/match by that name.
2020/07/09 14:08:48 Will ignore port(s) [4190 4191] on chain PROXY_INIT_REDIRECT
2020/07/09 14:08:48 Will redirect all INPUT ports to proxy
2020/07/09 14:08:48 > iptables -t nat -F PROXY_INIT_OUTPUT
2020/07/09 14:08:49 < iptables: No chain/target/match by that name.
2020/07/09 14:08:49 > iptables -t nat -X PROXY_INIT_OUTPUT
2020/07/09 14:08:49 < iptables: No chain/target/match by that name.
2020/07/09 14:08:49 Ignoring uid 2102
2020/07/09 14:08:49 Redirecting all OUTPUT to 4140
2020/07/09 14:08:49 Executing commands:
2020/07/09 14:08:49 > iptables -t nat -N PROXY_INIT_REDIRECT -m comment --comment proxy-init/redirect-common-chain/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PROXY_INIT_REDIRECT -p tcp --match multiport --dports 4190,4191 -j RETURN -m comment --comment proxy-init/ignore-port-4190,4191/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PROXY_INIT_REDIRECT -p tcp -j REDIRECT --to-port 4143 -m comment --comment proxy-init/redirect-all-incoming-to-proxy-port/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PREROUTING -j PROXY_INIT_REDIRECT -m comment --comment proxy-init/install-proxy-init-prerouting/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -N PROXY_INIT_OUTPUT -m comment --comment proxy-init/redirect-common-chain/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PROXY_INIT_OUTPUT -m owner --uid-owner 2102 -o lo ! -d 127.0.0.1/32 -j PROXY_INIT_REDIRECT -m comment --comment proxy-init/redirect-non-loopback-local-traffic/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PROXY_INIT_OUTPUT -m owner --uid-owner 2102 -j RETURN -m comment --comment proxy-init/ignore-proxy-user-id/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PROXY_INIT_OUTPUT -o lo -j RETURN -m comment --comment proxy-init/ignore-loopback/1594303728
2020/07/09 14:08:49 <
2020/07/09 14:08:49 > iptables -t nat -A PROXY_INIT_OUTPUT -p tcp -j REDIRECT --to-port 4140 -m comment --comment proxy-init/redirect-all-outgoing-to-proxy-port/1594303728
2020/07/09 14:08:50 <
2020/07/09 14:08:50 > iptables -t nat -A OUTPUT -j PROXY_INIT_OUTPUT -m comment --comment proxy-init/install-proxy-init-output/1594303728
2020/07/09 14:08:50 <
2020/07/09 14:08:50 > iptables -t nat -vnL
2020/07/09 14:08:50 < Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 PROXY_INIT_REDIRECT all – * * 0.0.0.0/0 0.0.0.0/0 /* proxy-init/install-proxy-init-prerouting/1594303728 */
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 PROXY_INIT_OUTPUT all – * * 0.0.0.0/0 0.0.0.0/0 /* proxy-init/install-proxy-init-output/1594303728 */
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain PROXY_INIT_OUTPUT (1 references)
pkts bytes target prot opt in out source destination
0 0 PROXY_INIT_REDIRECT all – * lo 0.0.0.0/0 !127.0.0.1 owner UID match 2102 /* proxy-init/redirect-non-loopback-local-traffic/1594303728 /
0 0 RETURN all – * * 0.0.0.0/0 0.0.0.0/0 owner UID match 2102 / proxy-init/ignore-proxy-user-id/1594303728 /
0 0 RETURN all – * lo 0.0.0.0/0 0.0.0.0/0 / proxy-init/ignore-loopback/1594303728 /
0 0 REDIRECT tcp – * * 0.0.0.0/0 0.0.0.0/0 / proxy-init/redirect-all-outgoing-to-proxy-port/1594303728 */ redir ports 4140
Chain PROXY_INIT_REDIRECT (2 references)
pkts bytes target prot opt in out source destination
0 0 RETURN tcp – * * 0.0.0.0/0 0.0.0.0/0 multiport dports 4190,4191 /* proxy-init/ignore-port-4190,4191/1594303728 /
0 0 REDIRECT tcp – * * 0.0.0.0/0 0.0.0.0/0 / proxy-init/redirect-all-incoming-to-proxy-port/1594303728 */ redir ports 4143