Q
Q
qreodium2021-04-23 17:33:00
linux
qreodium, 2021-04-23 17:33:00

How to understand why the proxy does not work in linux?

Installed tinyproxy on the debian server. Set it up according to the guides. When connecting to it from Win 10, sites do not load. How to understand why? Only analyze logs?

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

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question