Задать вопрос
  • Форвардинг ipv6 через openvpn?

    @alexeimoisseev Автор вопроса
    форвардинг включен
    net.ipv6.conf.all.forwarding = 1
    net.ipv6.conf.default.forwarding = 1
    net.ipv6.conf.lo.forwarding = 1
    net.ipv6.conf.eth0.forwarding = 1
    net.ipv6.conf.ip6tnl0.forwarding = 1
    net.ipv6.conf.tap0.forwarding = 1
    
  • Форвардинг ipv6 через openvpn?

    @alexeimoisseev Автор вопроса
    Да, это сделано. В итоге traceroute6 выглядит так:
    $ traceroute6 ipv6.google.com
    traceroute6 to ipv6.l.google.com (2a00:1450:4001:c02::69) from 2001:1af8:4101:4::1:2, 64 hops max, 12 byte packets
     1  2001:1af8:4101:4::1  79.862 ms  40.280 ms  38.412 ms
     2  * * *
     3  * * *
    


    Т.е. дальше сервера запрос не уходит.
    tcpdump на сервере такой:

    # tcpdump  -i tap0 -v ip6
    tcpdump: listening on tap0, link-type EN10MB (Ethernet), capture size 65535 bytes
    20:23:19.184731 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) fe80::c400:92ff:fe85:6fcc > fe80::f41c:aff:fe9d:5d42: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has fe80::f41c:aff:fe9d:5d42
    	  source link-address option (1), length 8 (1): c6:00:92:85:6f:cc
    20:23:19.220675 IP6 (flowlabel 0x3d002, hlim 6, next-header UDP (17) payload length: 20) 2001:1af8:4101:4::1:2.58909 > fa-in-x69.1e100.net.33452: [udp sum ok] UDP, length 12
    20:23:19.227052 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::f41c:aff:fe9d:5d42 > fe80::c400:92ff:fe85:6fcc: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is fe80::f41c:aff:fe9d:5d42, Flags [solicited]