已设置监听IPv4和IPv6了,我在IPv4环境下无法通过shadowsocks访问IPv6.google.com,请问如何在IPv4下用shadowsocks访问IPv6的网站
Just visit it. Of course, make sure your server has IPv6 connection.
我可以在服务器ping6到IPv6.goigle.com,但就是无法在本地访问他?
just the same problem and still not find a way to solve it.
Turn on ipv6 route.
@Sherlock-Holo 朋友你搞定了么? 想在 openwrt 上 redirect IPV6 到 ss-redir 端口, 但是尝试了ip6tables -t nat -A OUTPUT -p tcp -j REDIRECT --to-port 1010没有成功, 可以给点建议吗?
@Mygod I can visit ipv6.google.com by shadowsocks-android. Is there any advice for me to redirect ipv6 traffic to ss-redir's port on openwrt? I have tried ip6tables -t nat -A OUTPUT -p tcp -j REDIRECT --to-port 1010, but ss-redir didn't receive any data when I visit ipv6.google.com by curl or wget on openwrt
@icymind I have done this in LEDE 17.01.1.
ss-redir -b 0.0.0.0 -b ::, make sure ss-redir listening on ipv6ip6tables -t nat -A PREROUTING -p tcp -j REDIRECT --to-ports 1234, redirect tcp traffic to the corresponding port有人解决了吗?
the same problem
see this:
http://fpcsongazure.top/how-to-fuck-gfw-to-get-a-paper/
in python version you can change hosts to do this
but in libev version of ss you need to make a dns yourself.
I use centos7
yum -y install unbound
systemctl restart unbound
systemctl enable unbound
vi /etc/unbound/local.d/google-scholar.conf
md5-8bfcd40d74f807a70016fa789b70a846
local-data: "scholar.google.com AAAA 2607:f8b0:4004:801::2004"
md5-132ae0349a0e13ca087a886198f436ab
vi /etc/shadowsocks-libev/config.json
md5-360b14b04987f76c71c8885d91173265
"nameserver":"127.0.0.1"
md5-096fa72651ec612d7fcd8faa6a61b22e
systemctl restart shadowsocks-libev
@wswind You can change /etc/hosts as well for shadowsocks-libev. Make sure you've upgraded to the latest version.
@madeye thanks for reply
I'm using librehat 's repository ,this is the info:
Name : shadowsocks-libev
Arch : x86_64
Version : 3.2.0
Release : 1.el7
Changing hosts doesn't work in this version . I'm not sure if it is the latest version,or something went wrong with my configuration
my config.json is
{
"server":["[::0]", "0.0.0.0"],
"server_port":...,
"local_port":1080,
"password":"...",
"timeout":60,
"method":"aes-256-gcm"
}
my firewalld is
firewall-cmd --permanent --zone=public --add-port=.../tcp
firewall-cmd --permanent --zone=public --add-port=.../udp
firewall-cmd --reload
scholar.google.com blocks me (ipv4 address of my server) if I don't configure my own dns
Add this line in you config.json.
"ipv6_first":true
and server should be config like this
"server":["::0","0.0.0.0"]
@whour thanks,it works.
hosts works when "ipv6_first" is configured
Most helpful comment
Add this line in you config.json.
"ipv6_first":trueand server should be config like this
"server":["::0","0.0.0.0"]