ngoduykhanh / wireguard-ui

Wireguard web interface
MIT License
4.26k stars 524 forks source link

Add client IP Allocation #611

Open KyKyIIIKuH opened 3 months ago

KyKyIIIKuH commented 3 months ago

Hello everyone. It is necessary that the traffic of the connected client is transmitted to the wg server, if you manually enter in the server config

[Peer]
......
AllowedIPs = 10.20.30.17/32, 0.0.0.0/0
Allowed IPs=10.20.30.0/24

then everything works. the client's traffic is transmitted to the server and the server already goes online from the client's address

The interface refuses to make such a modification what can you advise?

I did it according to this instruction https://habr.com/ru/companies/xakep/articles/699000/