HackTheBox Openvpn 连接 IPv6 错误

2020-12-22  本文已影响0人  夙小叶
截屏2020-12-22 上午11.32.09.png
2020-12-22 11:27:44 sitnl_send: rtnl: generic error (-101): Network is unreachable
2020-12-22 11:27:44 ROUTE6: default_gateway=UNDEF
2020-12-22 11:27:44 TUN/TAP device tun0 opened
2020-12-22 11:27:44 net_iface_mtu_set: mtu 1500 for tun0
2020-12-22 11:27:44 net_iface_up: set tun0 up
2020-12-22 11:27:44 net_addr_v4_add: 10.10.14.4/23 dev tun0
2020-12-22 11:27:44 net_iface_mtu_set: mtu 1500 for tun0
2020-12-22 11:27:44 net_iface_up: set tun0 up
2020-12-22 11:27:44 net_addr_v6_add: dead:beef:2::1002/64 dev tun0
2020-12-22 11:27:44 sitnl_send: rtnl: generic error (-13): Permission denied
2020-12-22 11:27:44 Linux can't add IPv6 to interface tun0
2020-12-22 11:27:44 Exiting due to fatal error

解决:

查看是否禁用了 IPv6,如果为 1,则是被禁用了

$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1

开启 IPv6

$ sysctl net.ipv6.conf.all.disable_ipv6=0

$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0
上一篇下一篇

猜你喜欢

热点阅读