The server.conf contains this line:
Code: Select all
server 172.16.84.0 255.255.255.0
/etc/openvpn/clients/client1
contents
Code: Select all
ifconfig-push 172.16.84.53 172.16.84.54
The config is according to https://openvpn.net/community-resources ... -policies/
Now I have set up a new server, version 2.5.1
The server.conf contains this line:
Code: Select all
server 10.89.32.0 255.255.255.0
/etc/openvpn/clients/aserv
contents
Code: Select all
ifconfig-push 10.89.32.5 10.89.32.6
The configuration of the client fails however.
Code: Select all
net_addr_v4_add: 10.89.32.5/-1 dev tun0
aserv ovpn-vpn-lwd[6507]: sitnl_send: rtnl: generic error (-22): Invalid argument
But I want to assign this specific address to my client.
When I edit the client config file to contain:
Code: Select all
ifconfig-push 10.89.32.5 255.255.255.0
That format I found in various user forums (not OpenVPN)
I have used the old format as in the manual for decades, literally
Has this format been changed, or what?
Client: Openvpn 2.5.1
Debian Bullseye
Server: OpenVPN 2.5.1
Raspian Bullsey