Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

127.0.0.1:53 misbehaving #54

Open
reamasesa opened this issue Feb 29, 2024 · 3 comments
Open

127.0.0.1:53 misbehaving #54

reamasesa opened this issue Feb 29, 2024 · 3 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@reamasesa
Copy link

Hi,

I have a vague recollection of this being resolved somehow but for the life of me, I can't remember how :(

image
image

Thanks

@d3vilh
Copy link
Owner

d3vilh commented Feb 29, 2024

Hi @reamasesa it happens when UI can't connect to OpenVPN Server management console.

It should listen on all the openvpn container interfaces, so Ui will be able to restart sessions and see active connections.

Please check your server.conf for the management 0.0.0.0 2080 line.

@d3vilh d3vilh self-assigned this Feb 29, 2024
@d3vilh d3vilh added the help wanted Extra attention is needed label Feb 29, 2024
@reamasesa
Copy link
Author

Hi,

It's already configured like this as default

image

@d3vilh
Copy link
Owner

d3vilh commented Mar 12, 2024

this error, in general, means OpenVPN UI can't find management interface by hostname "openvpn" which is internal to Docker environment.
First is to check that openvpn container is running, then try to access it via openvpn-ui container with a hostname:

mrphil@d3pi1:~ $ sudo docker exec -it --user=root openvpn-ui bash -c "nc -zv openvpn 2080"
openvpn (172.26.0.2:2080) open
mrphil@d3pi1:~ $

and for sure, when you are changing management port of OpenVPN server, you have to restart server or its container to apply configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants