taamarin / ClashforMagisk

Transparent proxy(Tproxy) for android (root)
685 stars 48 forks source link

Create iptables transparent proxy rule failed #21

Open NoverNobida opened 1 year ago

NoverNobida commented 1 year ago

After run ${MODDIR}/scripts/clash.iptables -s, I got error: Bad argument 'icmp', within ${MODDIR}/run/run.logs, I got error: create iptables transparent proxy rule failed.

NoverNobida commented 1 year ago

After deleting https://github.com/taamarin/ClashforMagisk/blob/4e37a5a26a24f4d1b8e52d55f5e5945b9b2cb1d2/scripts/clash.iptables#L25-L26 https://github.com/taamarin/ClashforMagisk/blob/4e37a5a26a24f4d1b8e52d55f5e5945b9b2cb1d2/scripts/clash.iptables#L338-L339 https://github.com/taamarin/ClashforMagisk/blob/4e37a5a26a24f4d1b8e52d55f5e5945b9b2cb1d2/scripts/clash.iptables#L396-L397

I got this log in ${MODDIR}/run/run.logs.

[info] create iptables transparent proxy rules done.
taamarin commented 1 year ago

在某些手机上看起来像 Iptables 问题