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

"Defaults for new clients" still not working #621

Open
netandreus opened this issue Sep 10, 2024 · 1 comment
Open

"Defaults for new clients" still not working #621

netandreus opened this issue Sep 10, 2024 · 1 comment

Comments

@netandreus
Copy link

netandreus commented Sep 10, 2024

Bug description

Here is my environments for the wireguard-ui:

    environment:
      - BIND_ADDRESS=0.0.0.0:8000
      - SENDGRID_API_KEY
      - EMAIL_FROM_ADDRESS
      - EMAIL_FROM_NAME
      - SESSION_SECRET
      - WGUI_USERNAME=admin
      - WGUI_PASSWORD=password
      - WG_CONF_TEMPLATE
      - WGUI_MANAGE_START=true
      - WGUI_MANAGE_RESTART=true
      - WGUI_PERSISTENT_KEEPALIVE=15
      - WGUI_SERVER_INTERFACE_ADDRESSES=10.252.1.1/24
      - WGUI_SERVER_POST_UP_SCRIPT=iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth+ -j MASQUERADE
      - WGUI_SERVER_POST_DOWN_SCRIPT=iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth+ -j MASQUERADE
      - WGUI_DEFAULT_CLIENT_ALLOWED_IPS=0.0.0.0/0,192.168.100.0/24
      - WGUI_DEFAULT_CLIENT_EXTRA_ALLOWED_IPS=192.168.100.0/24

And here is new client window:

Screenshot 2024-09-10 at 14 27 15

As you can see vaue of the WGUI_DEFAULT_CLIENT_EXTRA_ALLOWED_IPS does not applied.

Related issues

@netandreus
Copy link
Author

Hi @thumpco ! Maybe you have found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant