Snawoot/hola-proxy

Possibility to use on headless server/router?

tornadox opened this issue · 7 comments

Hi! Thanks for this amazing app. Is it possible to use the proxy on a headless Linux box or router to connect to it afterwards via IP and PORT?

Hi! Thanks!

Yes, it's possible. See this wiki page for example of autostart on Linux. Also you'll need to add -bind-address 0.0.0.0:8080 option to OPTIONS in order to enable connectivity from other hosts.

When running directly with the bind command all of them work fine, but with the docker container, I don't get connectivity. =(

@tornadox what docker command do you use?

sudo docker run -d \
>     --security-opt no-new-privileges \
>     -p 127.0.0.1:8080:8080 \
>     --restart unless-stopped \
>     --name hola-proxy \
>     yarmak/hola-proxy -country de

logs are just empty
image

image

In this case use -p 8080:8080 instead of -p 127.0.0.1:8080:8080

thank you! It worked!

I know this one is not related to windscribe proxy, but once started I get this

MAIN    : 2021/08/08 16:52:22 main.go:192: CRITICAL Cold init failed: bad http status: 400 Bad Request, headers: http.Header{"Access-Control-Allow-Headers":[]string{"Origin, X-Requested-With, Content-Type, Accept"}, "Access-Control-Allow-Origin":[]string{"*"}, "Cache-Control":[]string{"no-cache, no-store, max-age=0, must-revalidate"}, "Cf-Cache-Status":[]string{"DYNAMIC"}, "Cf-Railgun":[]string{"9a8ebb9c48 1.54 0.010990 0032 57da"}, "Cf-Ray":[]string{"67ba413878ea3d71-KBP"}, "Connection":[]string{"keep-alive"}, "Content-Type":[]string{"text/html; charset=UTF-8"}, "Date":[]string{"Sun, 08 Aug 2021 16:52:22 GMT"}, "Expect-Ct":[]string{"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""}, "Server":[]string{"cloudflare"}, "Strict-Transport-Security":[]string{"max-age=16000000; includeSubDomains; preload;"}}

MAIN    : 2021/08/08 16:52:25 main.go:122: INFO     windscribe-proxy client version v1.0.2 is starting...

MAIN    : 2021/08/08 16:52:25 main.go:189: WARNING  Failed to load client state: open /state/wndstate.json: no such file or directory. Performing cold init...