美文网首页
HackTheBox Openvpn 连接 IPv6 错误

HackTheBox Openvpn 连接 IPv6 错误

作者: 夙小叶 | 来源:发表于2020-12-22 11:37 被阅读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
    

    相关文章

      网友评论

          本文标题:HackTheBox Openvpn 连接 IPv6 错误

          本文链接:https://www.haomeiwen.com/subject/fbtsnktx.html