linux/windows禁用ipv6隐私临时地址

linux下修改sysctl.conf:

net.ipv6.conf.all.use_tempaddr=0
net.ipv6.conf.eth0.use_tempaddr=0
net.ipv6.conf.default.use_tempaddr=0

wG j ; Sindows下执行命令:

netsh interface ipv6 set privacy state=disable