wireguard-ui icon indicating copy to clipboard operation
wireguard-ui copied to clipboard

"Defaults for new clients" still not working

Open netandreus opened this issue 5 months ago • 1 comments

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

  • https://github.com/ngoduykhanh/wireguard-ui/issues/409

netandreus avatar Sep 10 '24 10:09 netandreus