taamarin / box_for_magisk

Transparent Proxy for Android(root)
GNU General Public License v3.0
1.32k stars 131 forks source link

[BUG] The ipv6 option in the 0.8 version settings will globally replace the ipv6 option in the clash configuration #17

Closed suzakuo closed 1 year ago

suzakuo commented 1 year ago

Setting ipv6:true in the setting.ini will cause the ipv6:ip option of the wireguard node to be forcibly reset to true. Then it will throw an error that ipv6 cannot be a string. like this

taamarin commented 1 year ago

Setting ipv6:true in the setting.ini will cause the ipv6:ip option of the wireguard node to be forcibly reset to true. Then it will throw an error that ipv6 cannot be a string. like this

  • name: "WG" type: wireguard server: xxx port: xxx ip: xxx ipv6: true private-key: xxx public-key: xxx mtu: 1280 udp: true

Delete this line https://github.com/taamarin/box_for_magisk/blob/3c64fad0c5a7589aca77215d8125ddaf54e69b68/box/scripts/box.service#L162

suzakuo commented 1 year ago

Setting ipv6:true in the setting.ini will cause the ipv6:ip option of the wireguard node to be forcibly reset to true. Then it will throw an error that ipv6 cannot be a string. like this

  • name: "WG" type: wireguard server: xxx port: xxx ip: xxx ipv6: true private-key: xxx public-key: xxx mtu: 1280 udp: true

Delete this line

https://github.com/taamarin/box_for_magisk/blob/3c64fad0c5a7589aca77215d8125ddaf54e69b68/box/scripts/box.service#L162

thanks!