Issuing static IP to clients

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
alexsher91
OpenVpn Newbie
Posts: 4
Joined: Wed Jul 15, 2020 8:47 am

Issuing static IP to clients

Post by alexsher91 » Tue Feb 15, 2022 5:54 am

Hello everyone! There was a need to issue static IP to clients.
Configured with the command ifconfig-pool-persist ipp.txt
addresses are given, but differ by 2.
If 10.8.0.45 is specified in ipp.txt, then 10.8.0.43 is issued to the client
Can someone come across this?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Issuing static IP to clients

Post by TinCanTech » Tue Feb 15, 2022 2:23 pm

See --ifconfig-push in the manual.

Post Reply