VRouter
VRouter copied to clipboard
IPv6 Support
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.
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
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
Maybe you should install kmod-ipt-nat6.
@hellotanuky installed already. Could you offer more details about how to make it works