pre><code class=language-bash data-expandlinks=true data-repo=istio>$ echo &#34;ISTIO_AGENT_FLAGS=\&#34;--log_output_level=dns:debug --proxyLogLevel=debug\&#34;&#34; &gt;&gt; /var/lib/istio/envoy/cluster.env
$ systemctl restart istio
</code></pre><h2 id=iptables>Iptables</h2><p>确保 <code>iptables</code> 规则已经生效：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ sudo iptables-save
...
-A ISTIO_OUTPUT -d 127.0.0.1/32 -j RETURN
-A ISTIO_OUTPUT -j ISTIO_REDIRECT
</code></