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

The log and client window URI still display http://localhost:9000 #384

Closed
1 task done
wcf0002 opened this issue Jan 6, 2025 · 3 comments · Fixed by #391
Closed
1 task done

The log and client window URI still display http://localhost:9000 #384

wcf0002 opened this issue Jan 6, 2025 · 3 comments · Fixed by #391
Labels
❓ question Further information is requested

Comments

@wcf0002
Copy link

wcf0002 commented Jan 6, 2025

Problem Statement

I have changed the config file as below, but the log and client window URI still display http://localhost:9000.
CONFIG_HTTP_LISTEN=:443
CONFIG_HTTP_BASE_URL=https://xx.yyy.zz
CONFIG_HTTP_TLS=true
CONFIG_HTTP_KEY=/etc/openvpn-auth-oauth2/server.key
CONFIG_HTTP_CERT=/etc/openvpn-auth-oauth2/server.crt
image
image
image

openvpn-auth-oauth2 logs

Jan  6 09:12:27 wx-openvpn systemd[1]: Started OpenVPN authenticator.
Jan  6 09:12:27 wx-openvpn openvpn-auth-oauth2[2663]: time=2025-01-06T09:12:27.339Z level=INFO msg="discover oidc auto configuration with provider generic for issuer https://login.microsoftonline.com/9b415834-803a-4da0-afdc-fe6b1d52a965/v2.0"
Jan  6 09:12:27 wx-openvpn openvpn-auth-oauth2[2663]: time=2025-01-06T09:12:27.929Z level=INFO msg="connect to openvpn management interface unix:///run/openvpn/server.sock"
Jan  6 09:12:27 wx-openvpn openvpn-auth-oauth2[2663]: time=2025-01-06T09:12:27.930Z level=INFO msg="start HTTPS server listener on [::]:443"
Jan  6 09:12:27 wx-openvpn openvpn-auth-oauth2[2663]: time=2025-01-06T09:12:27.930Z level=INFO msg="openvpn-auth-oauth2 started with base url http://localhost:9000"
Jan  6 09:12:27 wx-openvpn openvpn[1411]: MANAGEMENT: Client connected from /run/openvpn/server.sock
Jan  6 09:12:27 wx-openvpn openvpn-auth-oauth2[2663]: time=2025-01-06T09:12:27.931Z level=INFO msg="connection to OpenVPN management interface established."
Jan  6 09:12:27 wx-openvpn openvpn[1411]: MANAGEMENT: CMD 'version'
Jan  6 09:12:27 wx-openvpn openvpn-auth-oauth2[2663]: time=2025-01-06T09:12:27.932Z level=INFO msg="OpenVPN Version: OpenVPN 2.6.12 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] - Management Version: 5"

Environment

  • openvpn-auth-oauth2 Version:1.22.5
  • OpenVPN Server Version:2.6.12
  • Server OS:Ubuntu 22.02
  • OpenVPN Client (flavor, OS): Windows OpenVPN Connect 3.4.4

Preflight Checklist

  • I could not find a solution in the documentation,
    the FAQ, the existing issues or discussions.
@wcf0002 wcf0002 added the ❓ question Further information is requested label Jan 6, 2025
@wcf0002
Copy link
Author

wcf0002 commented Jan 6, 2025

I install it by deb package openvpn-auth-oauth2_1.22.5_linux_amd64.deb

@jkroepke
Copy link
Owner

jkroepke commented Jan 7, 2025

Guess there is a type in docs. Try CONFIG_HTTP_BASEURL

@wcf0002
Copy link
Author

wcf0002 commented Jan 21, 2025

It's working, so please update the configuration wiki from "CONFIG_HTTP_BASE_URL" to "CONFIG_HTTP_BASEURL"

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants