OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: fvnet on March 09, 2025, 07:51:18 PM

Title: Static IP for OpenVPN client using 25.1 series
Post by: fvnet on March 09, 2025, 07:51:18 PM
Hello again dear friends, sorry if this has been answered before but all the guides to set static IP for an openvpn client don't work in 25.1 series.
Adding ifconfig-push 172.16.245.29 255.255.255.0 doesn't work (doesn't connect at all)
Setting persist-remote-ip also doesn't seem to work?
Has anyone found a solution? I need one specific client to get static ip no matter what.

Thank you in advance
Title: Re: Static IP for OpenVPN client using 25.1 series
Post by: fvnet on March 09, 2025, 08:00:54 PM
OK, probably found it myself.
Here is the setting