DHCP problem in Bridge (WAN to LAN) mode
-
if I try to brigdge the wlan (OPT1) port to the LAN port my WLAN client don't gets an IP address from the DHCP server running on the LAN port. I did the same in M0N0Wall and there it works. If I put a static IP address on the wlan card of the client all works fine. Does anybody know what's wrong, I think it also don't works in the v 1.2.2, maybe I make something wrong.
If I don't bridge and configure a seperate subnet for the WLAN port (and also "his" DHCP server) I have access to the internet and also to the servers running in the LAN subnet but not to the VPN which is established on the LAN subnet.
Any ideas are wellcome ;)
Sigma
-
If you want DHCP to work in bridged configurations you need to add firewall rules to allow the DHCP traffic. Something like, under Firewall -> Rules, on wireless LAN interface:
Proto=UDP, source=, port=bootpc, destination=255.255.255.255, port=bootps, gateway=
and
Proto=UDP, source=, port=bootpc, destination=LAN address, port=bootps, gateway=and in Firewall ->Aliases add
Name=bootpc, Value=68
and
Name=bootps, Value=67 -
Hi wallabybob
Thankss for your answer. It helps! I had a roule from WLAN to LAN for all traffic but had no Aliases set. After I put the 2 ports in it works. On WLAN I get now an IP address from the DHCP server which runs on the LAN interface. Very nice.
But another question: I have also a VPN tunnel running from the pfsense wall to a zywall. It works fine on the LAN port, but also after the bridging to the LAN interface I have no connection on the WLAN side. The same I tried in M0n0 and there it works. Maybe there's also something like the DHCP problem before. One small setting wrong. But I can't find it.
Sigma