rofl0r / microsocks

tiny, portable SOCKS5 server with very moderate resource usage
Other
1.48k stars 266 forks source link

not work with global proxy of MAC and Ubuntu #18

Open captainchain opened 5 years ago

captainchain commented 5 years ago
  1. I compiled the 1.0.1 version by a arm-linux musleabi gcc with static link, then push it into a android device at /system/bin and chmod 777 it, finally run it with 'ads shell microsocks -p 999'
  2. I run 'curl --socks5 192.168.1.5:999 https://www.xxx.com', it's correct, proxydroid and proxifier both are ok.

problem: when I use System proxy of MAC and Ubuntu, then browse website with either chrome nor safari, just respond a ERR_SOCKS_CONNECTION_FAILED, but on the same PC, curl is ok. Is there any logs I can found in android folders ?

rofl0r commented 5 years ago

do you use username and password ? if so, see https://github.com/rofl0r/microsocks/issues/17#issuecomment-484587175. if not, please provide a pcap so i can debug the issue. btw you should use a port number > 1024, so you don't have to run it as root.