cybozu-go / transocks

Transparent SOCKS5 / HTTP proxy in Go
MIT License
467 stars 61 forks source link

Not work with Proxy IP v6 #30

Open caotangdaiduong opened 2 years ago

caotangdaiduong commented 2 years ago

I have topo: LAN device ---> ([Linux OS + IP Table + Transock] + IPv4 Public) ---->Proxy HTTP (IP v4 connect) ---> IP v6 Public

Test proxy: curl https://ifconfig.co -x IPv4:PORT resul IPv6: 2402:9d80:270:8e86:4aa:4de:a25:xx

but error log: transocks error: "failed to connect to proxy server" client_addr="10.8.0.2:52583" dest_addr="142.250.179.206:443" error="proxy returns 502 Bad Gateway" request_id="1213d18b-60d3-5af1-905c-e57071d0144b" type="access" pid=3532214