Настроил ss5 прокси сервер по этому гайду https://www.proxyrack.com/how-to-setup-a-socks5-proxy-server-using-ss5-on-cen... все вроде нормально, но при попытке выполнить
curl --socks5 localhost:1080 --proxy-user user:password http://ipinfo.io/ip
curl: (7) No authentication method was acceptable.
Конфигурация /etc/ss5.conf
auth 0.0.0.0/0 - u
permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - -
Конфигурация /etc/opt/ss5/ss5.passwd
user password
Проьовал менять конфигурацию /etc/ss5.conf на
auth 0.0.0.0/0 - -
permit - 0.0.0.0/0 - 0.0.0.0/0 - - - - -
Получаю
curl --socks5 localhost:1080 http://ipinfo.io/ip
curl: (7) No authentication method was acceptable. (It is quite likely that the SOCKS5 server wanted a username/password, since none was supplied to the server on this connection.)
в файле логов /var/log/ss5/ss5.log
[23/Apr/2018:23:03:34 MSK] [INFO] SS5 Version 3.8.9 - Release 8 starting
[23/Apr/2018:23:03:34 MSK] [INFO] Copyright (C) 2002-2013 by Matteo Ricchetti - <matteo.ricchetti@libero.it>
[23/Apr/2018:23:03:34 MSK] [INFO] Setting dynamic configuration.
[23/Apr/2018:23:03:34 MSK] [INFO] Cleaning old configuration.
[23/Apr/2018:23:03:34 MSK] [INFO] Loading and validating new configuration.
[23/Apr/2018:23:03:34 MSK] [INFO] Loading configuration completed
[23/Apr/2018:23:03:34 MSK] [INFO] Loading HA configuration completed
[23/Apr/2018:23:03:34 MSK] [INFO] Switching to new configuration.
[23/Apr/2018:23:03:34 MSK] [VERB] Role is ALONE.
[23/Apr/2018:23:03:34 MSK] [INFO] Loading network interfaces.
[23/Apr/2018:23:03:38 MSK] [1168] 127.0.0.1 "" "" ISERROR - - - (-:- -- -:-) (Socks method unknown or bad request)
[23/Apr/2018:23:03:45 MSK] [1171] 127.0.0.1 "" "" ISERROR - - - (-:- -- -:-) (Socks method unknown or bad request)