I am trying to set up a pfSense server with OpenVPN.
The OpenVPN will use the tap
interface, tun
clients are no option for us.
The LAN network is 10.0.0.0/24
, the pfSense machine is 10.0.0.10
and clients DHCP range is currently 10.0.0.200-10.0.0.220
.
The clients connect just fine with DHCP and can use the network.
I have tried to assign static IPs with the client specific overrides in pfSense. I used the commonly advised ifconfig-push
command, but the clients I tested with(Windows 8 and Arch Linux) just don't take the IP assigned in their respective override. I've tried ifconfig-push
with different arguments(client-IP + server, client-IP + subnet mask, ..).
If I leave the DHCP for the tap-interface on, clients will take an IP address from the client DHCP range, if I switch DHCP off clients don't get an IP at all. I have tried to push the static IP inside and outside of the DHCP range.
Is there any way to make the override work and force the assigned IP to the client? I would need this especially for access limitations with pfSense's firewall.