SuZixiong

Results 2 comments of SuZixiong

macvlan已经实现透明代理,唯一有点缺陷好像是宿主机不能和使用macvlan的容器通信。 如果实在要通信的话,需要在宿主机上再配置一个macvlan,通过该macvlan对前一个macvlan进行通信。

@mzz2017 我在host模式下无法实现透明代理,宿主机上iptables如下。macvlan模式没有问题。 ``` Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere tcp...