Pfsense 2.3 static client IP
-
Hi,
Same goes to me. Still unable to set static IP for my openvpn client. I did follow what shown on the website but seems not working though.
https://fastinetserver.wordpress.com/2013/03/09/pfsense-openvpn-static-ip-for-clients/
any other ideas? :'(
-
using a client specific override was the way it used to work in version <2.3 - as per your link - and that method used to work ok.
-
@MRH:
using a client specific override was the way it used to work in version <2.3 - as per your link - and that method used to work ok.
are those method work for windows client also?
-
what is not working? This is pretty straight forward… So you see my client got 10.0.8.2, I then added an override all I put in was the clients CN and in the advanced tab did a push for the IP and mask..
And bingo that is what it got... Why are you wanting to use net 30?? If your wanting to set a specific IP?
-
what is not working? This is pretty straight forward… So you see my client got 10.0.8.2, I then added an override all I put in was the clients CN and in the advanced tab did a push for the IP and mask..
And bingo that is what it got... Why are you wanting to use net 30?? If your wanting to set a specific IP?
I dont know which step im doing it wrong. but as i know i followed it correctly.
-
Maybe this will help someone:
I have a client specific override to give a static IP to a contractor and it was working great with pfsense 2.2.6. We just upgraded to 2.3.0 and it broke my client specific override, but everyone else was connecting just fine. The VPN client was giving this error:
ERROR: –ip-win32 dynamic [offset] : offset is outside of –ifconfig subnet
The solution was to change the way I pushed the static IP. What USED to work was this (under advanced settings in the CSO):
ifconfig-push 10.40.5.242 10.40.5.241
After the upgrade this no longer works. What does seem to work is changing the setting to this:
ifconfig-push 10.40.5.242 255.255.255.0
I'm not a networking professional, I just wear the IT hat when something has to be done so I'm not sure if this is a good or bad thing to do, but it eliminated the error above and my client now gets a static IP like they used to.
-
For fixed client ip with ver 2.3 (in this example client 10.10.10.10) adding client specific override
Tunnel network:
10.10.10.8/30Advanced:
ifconfig-push 10.10.10.10 255.255.255.252works ok.
Was hoping this was covered in the originally generated config which had ifconfig 10.10.10.10 10.10.10.9 - without needing the additional override.
-
Maybe this will help someone:
I have a client specific override to give a static IP to a contractor and it was working great with pfsense 2.2.6. We just upgraded to 2.3.0 and it broke my client specific override, but everyone else was connecting just fine. The VPN client was giving this error:
ERROR: –ip-win32 dynamic [offset] : offset is outside of –ifconfig subnet
The solution was to change the way I pushed the static IP. What USED to work was this (under advanced settings in the CSO):
ifconfig-push 10.40.5.242 10.40.5.241
After the upgrade this no longer works. What does seem to work is changing the setting to this:
ifconfig-push 10.40.5.242 255.255.255.0
I'm not a networking professional, I just wear the IT hat when something has to be done so I'm not sure if this is a good or bad thing to do, but it eliminated the error above and my client now gets a static IP like they used to.
no luck for me :'( . still failed to do so. btw how do you get that error message? using "Show Status" on client openvpn gui?
-
It's in the log file on the client. On Windows, you can right-click the OpenVPN client icon and select view log. You can change the logging level in the config file.
-
based on my log. everything seem fine. :'(