Closed keunes closed 1 year ago
Hi!
Server listen 1080 port by default inside container.
You need to specify PROXY_PORT=8888
environment variable in your case or make docker port listener like 8888 -> 1080 (-p 8888:1080).
Thanks a lot! New with docker so I didn't put the correct info in the run command. Without auth I now get it to work.
Hello,
I've started the container on my Raspberry Pi:
docker run -d --name socks5 -p 8888:8888 -e PROXY_USER=keunes -e PROXY_PASSWORD=[password] serjs/go-socks5-proxy
and confirm that it's running:On my router I have opened the port, redirecting to my RaspberryPi (protocol: TCP):![afbeelding](https://user-images.githubusercontent.com/11229646/200165796-c851063e-3606-4e58-ac07-d12bba10e9aa.png)
However, when testing, I get a 'connection refused' error:
I'm also running a 'bare' nginx server on the RasPi but I think it shouldn't interfere as it's on another level. I've also set up UFW on the RasPi but I tried adding a rule to open port
8888
and that didn't help, and I think it shouldn't interfere anyway as docker manipulates iptables directly.Any hints/ideas?