Open githilman opened 2 months ago
Try to run this with docker-compose with my existing OpenVPN server but still the UI can't connect to the existing OpenVPN.
Here's my docker-compose.yml
openvpn-ui: container_name: openvpn-ui image: d3vilh/openvpn-ui:latest environment: - OPENVPN_ADMIN_USERNAME=admin - OPENVPN_ADMIN_PASSWORD=admin privileged: true ports: - "8080:8080/tcp" volumes: - /etc/openvpn:/etc/openvpn - ./db:/opt/openvpn-ui/db - /etc/openvpn/server/easy-rsa:/usr/share/easy-rsa - /etc/openvpn/server/easy-rsa/pki:/usr/share/easy-rsa/pki - /var/run/docker.sock:/var/run/docker.sock:ro restart: always
Here's the logs:
2024/08/19 02:14:38.635 [E] [default.go:32] dial tcp: lookup openvpn on 189.255.169.234:53: no such host 2024/08/19 02:14:38.635 [W] [default.go:33] passed client line: &{tcp openvpn:2080} 2024/08/19 02:14:38.635 [W] [default.go:34] error: dial tcp: lookup openvpn on 189.255.169.234:53: no such host 2024/08/19 02:14:38.635 [D] [utils.go:51] null 2024/08/19 02:14:38.647 [E] [default.go:42] dial tcp: lookup openvpn on 189.255.169.234:53: no such host 2024/08/19 02:14:38.647 [D] [utils.go:51] null 2024/08/19 02:14:38.657 [E] [default.go:50] dial tcp: lookup openvpn on 189.255.169.234:53: no such host 2024/08/19 02:14:38.657 [D] [utils.go:51] -1 2024/08/19 02:14:38.666 [E] [default.go:58] dial tcp: lookup openvpn on 189.255.169.234:53: no such host 2024/08/19 02:14:38.666 [D] [utils.go:51] null 2024/08/19 02:14:38.669 [E] [funcmap.go:44] Unknown type: <nil> 2024/08/19 02:14:38.669 [E] [funcmap.go:44] Unknown type: <nil>
Hi,
You should change the Management Interface Adress in OpenVPN UI Settings. Set it to the IP of your docker host, eg. : 10.0.0.1:2080
('openvpn' will never resolve to the right IP to connect to)
Try to run this with docker-compose with my existing OpenVPN server but still the UI can't connect to the existing OpenVPN.
Here's my docker-compose.yml
Here's the logs: