DHCP over IPSEC
Matello last edited by
I know that topic have been already mentioned but even so, I can't do what I want.
In my scenario:
I have pfsense1 as a cloud instance
and pfsense2 local mashine in office
I've set up IPsec connection between pfsense1 and pfsense2
on pfsense1 side I have a LAN 10.0.0.1 /16
on pfsense2 side I have a LAN 10.1.0.1 /16
I have a Windows domain controler on 10.0.0.2 /16 with DNS and DHCP service.
I want tu use 10.0.0.2 DHCP server for users in office so I Want to use DHCP Relay Agent.
I created a scope in DHCP server
Then I turned on DHCP Relay on pfsense2 and point it to 10.0.0.2
then a added a gateway in System->routing for LAN interface (10.0.0.1) an make a static route for whole 10.0.0.0 /8 network to go through this interface
DHCP does not work.. When i use manual ip addres on PC 10.1.0.2 and try to ping 10.0.0.2 it works. When I use diagnostic tool from pfsense2 and ping 10.0.0.2 it also works. But still no address is assigned to PC automaticly.
Can you please help me?