On the server I am not sure if it's possible:
https://github.com/openwisp/openwisp-controller/blob/4836913acec5fb7b75d644e2fd64bd72cbd7d055/openwisp_controller/config/base/vpn.py#L735-L748
But on the client you could try to set the address to be
`{{ server_ip_address_9fdfcebbd8264439a9eb49f050547d4e }}/16'.
Best regards
Federico Capoano
On Fri, 23 May 2025 at 17:40, Michele Salerno <[email protected]> wrote:
> Hi,
>
> I set up wireguard for vpn and the configuration in the clients is this:
>
> # wg show
>
> interface: wg0
> public key: XYZ
> private key: (hidden)
> listening port: 51820
>
> peer: ZYX
> endpoint: 195.32.xxx.xxx:51820
> allowed ips: 10.27.252.1/32
> latest handshake: 15 days, 6 hours, 7 minutes, 55 seconds ago
> transfer: 177.39 KiB received, 22.66 MiB sent
> persistent keepalive: every 1 minute
>
> I want the routers to be able to communicate with each other, I want the
> /24 network not the 32.
> How can I set up openwisp to achieve this?
>
> Best regards,
>
> Michele
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion, visit
> https://groups.google.com/d/msgid/openwisp/3c033c58-f3ce-4011-bb59-509104e898fc%40gmail.com
> .
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion, visit
https://groups.google.com/d/msgid/openwisp/CAAGgX6%2By%2B%3Dwt4ajB6oRy8yeqLiWFGeYvFZxTihb0tSgnMNj24Q%40mail.gmail.com.