Задать вопрос
@qreodium

Как понять почему не работает прокси в linux?

На сервер debian установил tinyproxy. Настроил его по гайдам. При подключении к нему из Win 10 сайты не загружаются. Как понять почему? Только анализировать логи?
config
User tinyproxy
Group tinyproxy


Port 8888

Timeout 600

DefaultErrorFile "/usr/share/tinyproxy/default.html"

StatFile "/usr/share/tinyproxy/stats.html"

LogFile "/var/log/tinyproxy/tinyproxy.log"

LogLevel Info

PidFile "/run/tinyproxy/tinyproxy.pid"

XTinyproxy No

MaxClients 5

MinSpareServers 5
MaxSpareServers 20

StartServers 10

MaxRequestsPerChild 0

Allow 0.0.0.0/0

ViaProxyName "tinyproxy"

ConnectPort 443
ConnectPort 563

log file
...
INFO      Apr 23 21:20:32 [900]: Starting main loop. Accepting connections.
CONNECT   Apr 23 21:20:56 [902]: Connect (file descriptor 7): 185.211.3.4 [185.211.3.4]
CONNECT   Apr 23 21:20:56 [905]: Request (file descriptor 7): CONNECT partner.googleadservices.com:443 HTTP/1.1
CONNECT   Apr 23 21:20:56 [906]: Request (file descriptor 7): CONNECT 2ip.ru:443 HTTP/1.1
CONNECT   Apr 23 21:20:56 [902]: Request (file descriptor 7): CONNECT googleads.g.doubleclick.net:443 HTTP/1.1
CONNECT   Apr 23 21:20:56 [903]: Request (file descriptor 7): CONNECT 2ip.ru:443 HTTP/1.1
CONNECT   Apr 23 21:20:56 [904]: Request (file descriptor 7): CONNECT 2ip.ru:443 HTTP/1.1
INFO      Apr 23 21:20:56 [905]: No upstream proxy for partner.googleadservices.com
INFO      Apr 23 21:20:56 [903]: No upstream proxy for 2ip.ru
INFO      Apr 23 21:20:56 [902]: No upstream proxy for googleads.g.doubleclick.net
INFO      Apr 23 21:20:56 [904]: No upstream proxy for 2ip.ru
INFO      Apr 23 21:20:56 [902]: opensock: opening connection to googleads.g.doubleclick.net:443
INFO      Apr 23 21:20:56 [903]: opensock: opening connection to 2ip.ru:443
INFO      Apr 23 21:20:56 [905]: opensock: opening connection to partner.googleadservices.com:443
INFO      Apr 23 21:20:56 [904]: opensock: opening connection to 2ip.ru:443
INFO      Apr 23 21:20:56 [906]: No upstream proxy for 2ip.ru
INFO      Apr 23 21:20:56 [903]: opensock: getaddrinfo returned for 2ip.ru:443
INFO      Apr 23 21:20:56 [905]: opensock: getaddrinfo returned for partner.googleadservices.com:443
INFO      Apr 23 21:20:56 [902]: opensock: getaddrinfo returned for googleads.g.doubleclick.net:443
INFO      Apr 23 21:20:56 [904]: opensock: getaddrinfo returned for 2ip.ru:443
INFO      Apr 23 21:20:56 [906]: opensock: opening connection to 2ip.ru:443
INFO      Apr 23 21:20:56 [906]: opensock: getaddrinfo returned for 2ip.ru:443
CONNECT   Apr 23 21:20:56 [903]: Established connection to host "2ip.ru" using file descriptor 8.
CONNECT   Apr 23 21:20:56 [902]: Established connection to host "googleads.g.doubleclick.net" using file descriptor 8.
CONNECT   Apr 23 21:20:56 [905]: Established connection to host "partner.googleadservices.com" using file descriptor 8.
INFO      Apr 23 21:20:56 [903]: Not sending client headers to remote machine
  • Вопрос задан
  • 306 просмотров
Подписаться 1 Средний 1 комментарий
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы