from--https://notabug.org/angela/brain-dump/src/master/android/disable-ipv6.md Easily doable via AFWall settings and for mobile data by selecting IPv4 only, but it doesn't prevent the phone from obtaining an IPv6 address when connected to wifi offering IPv6. From CanMan1's brief tutorial: Required: rooted device 2 paths must exist: ls -l /proc/sys/net/ipv6/conf/wlan0/accep…
Ubuntu20网络使用netplan进行管理,禁用需要修改netplan配置文件/etc/netplan/。 在配置文件中的接口属性下,添加 link-local: [ ] 将属性设置为空。 link-local默认会启用ipv6,也就是说网卡默认会进行获取ipv6地址,设置成空就好了 也可以用以下方式禁用,但是不保证好用 创建/etc/sysctl.d/60-ipv6-disable.conf包含以下文本: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 也可以通过GRUB修改启动配置禁用 资料来源: https://askubuntu.com/quest…