Using shadowsocks qt5 in ubuntu cannot connect
Log report as below:
Initialising ciphers...
RC4-MD5 (RC4-MD5) initialised.
Listen UDP socket state changed to QAbstractSocket::BoundState
Running in local mode.
TCP server listen at port 1080
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5.
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5.
An invalid socket connection was rejected. Please make sure the connection type is SOCKS5.
How can i do this?
source to share
try it porxychains-ng
.
https://github.com/rofl0r/proxychains-ng
git clone git@github.com:rofl0r/proxychains-ng.git
cd proxychains-ng
./configure --prefix=~/apps/proxychains4 --sysconfdir=~/confs
make install
#edit ~/confs/proxychains.conf, add
#socks4 127.0.0.1 1080
#http 127.0.0.1 1080
socks5 127.0.0.1 1080
#make sure only use socks5, change 1080 to your port
#then
~/apps/proxychains4/proxychains4 firefox
source to share
I tried using shadowsocks on my Ubuntu 16.04 which didn't work (didn't actually connect to my shadowsocks server but didn't make any errors).
The client worked on my Android, Mac OSX and Windows, but not Ubuntu.
I realized that this is not a shadow issue, not a problem at all: just system settings.
Solution that worked immediately (after that the sslocal client connected immediately):
Go to System Settings -> Network -> Network Proxy and set Socks Host to value 127.0.0.1
and port 1080
(these are the settings for localhost and local port that I set in the shadowsocks.json
config file).
Right after that, I could see the connection log on my shadowsocks log server. When I tested my IP address in Chrome it was my server IP and I could open sites blocked from my location.
source to share