dhcpd, dhcrelay, and ipsec VPN
Now that OpenBSD 4.7 is out I am trying to get DHCP over IPSec working on my VPN for remote clients.
My VPN gateway also hosts dhcpd.
My question is, since dhcpd runs on the gateway, can I just make it listen on enc0 to serve leases, or do I need to use dhcrelay and have dhcpd listen on lo and relay enc to lo?
Or am I totally thinking I can do this the wrong way?
Thanks in advance.
|