VRouter icon indicating copy to clipboard operation
VRouter copied to clipboard

IPv6 Support

Open xfoxfu opened this issue 8 years ago • 4 comments

I have been on CERNET with IPv6 support, and I configured a server with IPv6 address. However, when I toggle to start, the status just jumped back to "not connected", while the DNS server is changed though.

I used http://Google.com to determine my IP, found the IP address is my CERNET IP instead of the IP of my server.

ADD:

When testing http://test-ipv6.com, the website says:

Your IPv4 address on the public Internet appears to be 45.32.***.***(AS-CHOOPA - Choopa, LLC, US) Your IPv6 address on the public Internet appears to be 2001:250:3002:4650:****:****:****:**** (CNGI-CERNET2-AS-AP China Next Generation Internet CERNET2, CN)

So it seems that the tunnel is applied on IPv4, but not IPv6.

xfoxfu avatar Sep 04 '17 07:09 xfoxfu

vrouter doesn't redirect ipv6 traffic to shadowsocks redir port.

ip6tables nat support needs a linux kernels >= 3.8, but the latest openwrt base on 3.18 however.

I will test ip6tables on lede ( kernels >= 4.x ), if everything works well, openwrt will be replaced by lede

overcache avatar Sep 05 '17 00:09 overcache

sorry, I made a mistake here. openwrt's ip6tables does support nat table.

But I have no idea about how to redirect ipv6 traffic to ss-redir's port. I tried ip6tables -t nat -A OUTPUT -p tcp -j REDIRECT --to-port 1010, but ss-redir didn't reveive any data when I visit ipv6.google.com by 'curl' or 'wget

overcache avatar Sep 10 '17 08:09 overcache

Maybe you should install kmod-ipt-nat6.

f32y avatar Sep 13 '17 12:09 f32y

@hellotanuky installed already. Could you offer more details about how to make it works

overcache avatar Sep 13 '17 14:09 overcache