atrandys/wireguard

为什么PostUp中要配置iptables FORWARD表把10.77.77.1/24 到10.77.77.1/24的包丢掉呀

Opened this issue · 0 comments

PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -I FORWARD -s 10.77.77.1/24 -d 10.77.77.1/24 -j DROP; iptables -t nat -A POSTROUTING -o $eth -j MASQUERADE

代码片段在这,问题同上