> 5 сент. 2021 г., в 21:53, Andrei <andrei...@0x7f.dev> написал(а):
>
>
>> On 05.09.2021., at 15:58, kasak <ka...@kasakoff.net> wrote:
>> I've should correct myself in last message. You actually may try to proxy
>> dhcp answers to vpn, adding option
>>
>> server-bridge
>>
>> to server config without pool definition. Please respond if it works. I'm
>> really curious about it.
>>
>> I use similar configuration, but with manual pool definition in server-bridge
>>
>
> This results in the same behaviour - the client gets no IP. When I do however
> make it say:
>
> server-bridge 10.70.0.1 255.225.255.0 10.70.0.100 10.70.0.110
>
I made a typo. Mask should be 255.255.255.0
I highly recomend not just copying what i say but correcting it to match your
configuration
> as you said this works but the DHCP is not issuing that IP (+ I'm having some
> weird errors saying
>
> 2021-09-05 20:44:45 /sbin/ifconfig tap0 10.70.0.100 netmask 255.225.255.0 mtu
> 1500
> ifconfig: 255.225.255.0: non-contiguous mask
>
> but that's another topic :).