Assign ip to client using dhcp
-
Hello,
I want to perform a basic pfsense/openvpn setup :
WAN interface connected to internet
LAN interface connected to internal network (let's say 192.168.1.0/24)I have a DHCP server in the 192.168.1.0 network, which hands out ip addresses in the same ip subnet.
How can I configure the openvpn component to hand out IP addresses from the DHCP server (dhcp request / dhcp relay) to windows xp & vista clients connecting via openvpn ?
I do not want to use a separate IP subnet for this, I just want to use the existing infrastructure
thanks
c
-
Not possible (yet).
You would have to bridge the OpenVPN-interface to the LAN which is not supported and seems to be unstable in certain situations.http://doc.pfsense.org/index.php/VPN_Capability_OpenVPN
Has some instructions on how to get the bridge to work.
Search the forum for feedback from people that actually did this.
It seems to become unstable if you use CARP. -
I'll give it a try
Any idea if this is going to be supported in one of the next releases ?
thanks
c
-
quick update : procedure doesn't work for me
during boot, I get an error regarding the tap0 device (about the fact that I cannot be added to the bridge)
I'm not sure how to set up the tap0 - can anyone give me some guidance ?
thanks