2.7.0-RELEASE (amd64) Static IP configuration for OpenVPN clients
-
I want to define a static ip for clints in the OPENVPN connection, but it does not work.
My OPENVPN settings are as follows.
Pleas Help me
-
@rustem
To assign a specific IP address to a VPN client, I use the "Client Specific Overrides" tab, it's where you can select a client by its "Common Name" (the client certificate name, ou the username for VPNs utilizing password authentication), select the VPN server in the Server List, and can use the ifconfig-push directive at the end of the page, in Advanced field.
Also, the netmask that you put in ifconfig-push seems wrong, you put 255.255.255.255 instead of 255.255.255.0 (the netmaks of your tunnel network).
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.