Closed TR-SLimey closed 4 years ago
Does it work if you're using the assigned ip instead of localhost?
It might also be that you're missing the host variable. And no I can also see that it's also missing in the docker example config. So try this to run this:
docker run -d \
--cap-add NET_ADMIN \
--name wg-manager \
-p "51800-51900:51800-51900/udp" \
-p "8888:8888" \
-v wg-manager:/config \
-e HOST="0.0.0.0" \
-e PORT="8888" \
-e ADMIN_USERNAME="admin" \
-e ADMIN_PASSWORD="admin" \
perara/wg-manager
I'm currently running it using docker-compose using this config. Might be a good idea for you to try as well :)
wireguard:
container_name: wg-manager
image: perara/wg-manager
restart: always
cap_add:
- NET_ADMIN
ports:
- 51800-51900:51800-51900/udp
- 8888:8888
volumes:
- ./wg-manager:/config
environment:
HOST: 0.0.0.0
PORT: 8888
ADMIN_PASSWORD: admin
ADMIN_USERNAME: admin
WEB_CONCURRENCY: 1
It seems like using the version you gave in your comment fixed the problem. Thanks!
Trying to connect to
localhost:8888
(on the host running the docker image) results in an empty reply from server error. Screenshot below: