Closed julzKB closed 1 year ago
Hi,
I see nothing wrong in your configuration, provided your local network is in 192.168.0.0 range. I use foxyproxy to set different proxy according to domain names, but firefox can use a proxy without any extension.
https://support.mozilla.org/en-US/kb/connection-settings-firefox
what url did you set to have the tiny proxy error.
yeah , can't find anything weird either, unless it's something to do with the network settings in Portainer .
I just navigate to http://192.168.0.100:8888 to get the error, or when I define a proxy in the Firefox settings , like this
I get the same error: "The proxy server is refusing connections"
you may try the socks proxy that is embedded in the container ( port 1080) to check whether the problem is only with tinyproxy or not.
you may also enter into the console through portainer or use docker compose exec lynx bash
when in container, useful aliases are defined:
root@723b24ebe363:/app# alias
alias checkhttp='curl -sm 10 -x http://${HOSTNAME}:${WEBPROXY_PORT:-8888} "https://ifconfig.me/ip"'
alias checkip='curl -sm 10 "https://zx2c4.com/ip"'
alias checksocks='curl -sm10 -x socks5://${HOSTNAME}:1080 "https://ifconfig.me/ip"'
alias checkvpn='curl -sm 10 "https://api.nordvpn.com/vpn/check/full" | jq -r .status'
alias getcheck='curl -sm 10 "https://api.nordvpn.com/vpn/check/full" | jq . '
alias getdante='grep -vP "(^$|^#)" /etc/dante.conf'
alias gettiny='grep -vP "(^$|^#)" /etc/tinyproxy/tinyproxy.conf'
checkhttp will get your external ip using tinyproxy and the vpn. your ip should be the same as the one given by getcheck
root@723b24ebe363:/app# checkhttp
xxx.yyy.9.190
root@723b24ebe363:/app# getcheck
{
"ip": "xxx.yyy.9.190",
"isp": "Clouvider Limited",
"status": "Unprotected",
"country": "Germany",
"code": "DE"
}
gettiny
will show tinyproxy's configuration and you should see:
...
Allow 127.0.0.1
Allow 192.168.0.0/24
Allow 172.21.0.0/16
.....
you have three env vars to enable verbose logging, DEBUG, TINYLOGLEVEL and DANTE_LOGLEVEL and DANTE_DEBUG. I would set DEBUG=true, the logs will be very verbose but you will have all details about what is going on.
very nice, I appreciate the help . I'll dig in, probably something to do with my config
Hi there,
I was wondering if I could get your help with the tinyproxy config , I can't seem to connect to the proxy ( let alone use it )?
I have configured this:
LOCAL_NETWORK=192.168.0.0/24
but as far I know that's the only place I can configure it .
Here is the error I'm getting :
I'm basically wondering where I can configure it ?
Here is my docker compose ( through Portainer )
Here are the container logs
I would appreciate any help :)