tcp.go:67: failed to get target address: SOCKS error: 8
houxinlin opened this issue · 2 comments
The server is ubuntu, and I'm running on the client (my client is manjaro). I got this error by setting the proxy address 127.0.0.1:1080 through the system
export http_proxy=socks5://127.0.0.1:1080
export https_proxy=socks5://127.0.0.1:1080
How was this fixed?
Changing poxy config on the host, should and had no effect on the results?
PreReq:
iptables -t nat -A PREROUTING -i ens9f1 -p tcp -j REDIRECT --to-port 12345 iptables -t nat -A PREROUTING -i ens9f1 -p udp -j REDIRECT --to-port 12345 iptables -t nat -A POSTROUTING -o ens9f1 -j MASQUERADE
# iptables -t nat -L`
Using:
go-shadowsocks2 -verbose -c '10.10.10.138:58888' -socks ':12345'
Error:
2024/01/30 02:18:19 tcp.go:67: failed to get target address: SOCKS error: 8 2024/01/30 02:18:19 tcp.go:67: failed to get target address: SOCKS error: 8
Suggestion, should and does not help.
export http_proxy=socks5://192.168.12.3:12345 export https_proxy=socks5://192.168.12.3:12345
Issue should have remained open.