OPNsense Forum

English Forums => General Discussion => Topic started by: litusbdn on March 15, 2018, 09:07:30 am

Title: Ip static in OpenVpn client
Post by: litusbdn on March 15, 2018, 09:07:30 am
Good Morning,
I have an OpenVpn server enabled.

I do not need to assign a specific IP to the clients that connect via road warrior VPN (network 10.10.10.X). Is it possible to do a Mac-IP relationship so that the same computer always gets the same ip from the VPN server?

Thanks
Title: Re: Ip static in OpenVpn client
Post by: bartjsmit on March 15, 2018, 04:25:00 pm
Try this? https://michlstechblog.info/blog/openvpn-set-a-static-ip-address-for-a-client/

Bart...
Title: Re: Ip static in OpenVpn client
Post by: litusbdn on March 19, 2018, 01:12:50 pm
Hello,

I have tried this: VPN: OpenVPN: Client Specific Overrides

When I activate this option, the following error appears in the VPN client (see photos)

Because something that has to be simple complicates me so much ... :(

UPDATE:   if i change 10.10.0.0 (you can see in the photo) -> 255.255.255.252 it does not work either
Title: Re: Ip static in OpenVpn client
Post by: litusbdn on March 22, 2018, 09:00:51 am
Good Morning,

Does anyone have any idea how to solve this problem?

Thank you so much