OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: PIv0 on August 08, 2023, 12:54:28 PM

Title: OpenVPN and static IP
Post by: PIv0 on August 08, 2023, 12:54:28 PM
Good afternoon

In OPNsense version 23.1.11, I set a static IP in the Client Specific Overrides section by entering the line in the Advanced field

ifconfig-push 172.28.25.2 255.255.254.0

In the new version, I did not find how to set a static IP for VPN clients.

Can you tell me how, after the upgrade, you can specify a static IP for clients and how it can be imported from the old version?

Thank you in advance.
Title: Re: OpenVPN and static IP
Post by: amw on August 09, 2023, 01:16:15 PM
same....
Title: Re: OpenVPN and static IP
Post by: allan on August 09, 2023, 05:38:05 PM
Franco had a suggestion to use "IPv4 Tunnel Network" (https://forum.opnsense.org/index.php?topic=35149.msg170397#msg170397). That might work for you both as well.