shadowsocks / shadowsocks-windows

A C# port of shadowsocks
Other
58.33k stars 16.39k forks source link

The app does not redirect all traffic through the remote server #3482

Closed atellmer closed 2 months ago

atellmer commented 2 months ago

Describe the bug

After enabling System Proxy as global, this changes the real IP in Chrome, but the system itself does not pass all traffic through the remote server. curl ifconfig.me gives the real IP.

Environment

Steps you have tried

What did you expect to see?

remote server IP

What did you see instead?

real IP


Also if I run curl ifconfig.me in windows PowerShell it prints remote server IP, but git bash prints real IP. Due to this behavior, I cannot trust now this software because it has unpredictable behavior. What am I doing wrong?

chenshaoju commented 2 months ago

Try setting the environment variables, refer to: https://github.com/shadowsocks/shadowsocks-windows/issues/2686#issuecomment-556913520

atellmer commented 2 months ago

Thanks! That works fine.

Solution:

in your .bashrc

export http_proxy=http://127.0.0.1:1080
export https_proxy=http://127.0.0.1:1080