SOLVED: External wifi router and pfsense settings
-
I've got wan and two lan. em1 is wired to pc and everything works. em0 or is wired to external wifi router lan port. IP on em0 is 192.168.2.1, wifi router lan is set to 192.168.2.2. Firewall, NAT, DHCP is off. Wireless client receives ip from pfsense IE. 192.168.2.100. Client reports gateway, DNS and DHCP is 192.168.2.1. Created firewall rule to allow lan to any for em0 interface. But client has no internet. And i don't know why or how to figure out why.
Suggestions ? -
…. em0 or is wired to external wifi router lan port. IP on em0 is 192.168.2.1, wifi router lan is set to 192.168.2.2. Firewall, NAT, DHCP is off. Wireless client receives ip from pfsense IE. 192.168.2.100. Client reports gateway, DNS and DHCP is 192.168.2.1. ....
I have exactly the same setup : an OPT1 (second LAN) interface with 192.1682.1 and some AP's (192.168.2.2, 192.168.2.3, etc etc).
You'll be needing at least one pass rule on the OPT1 (your "em0" interface) interface to let traffic go through.Can you show your rule(s) on that OPT1/em0 interface ?
-
-
-
-
Can you show your rule(s) on that OPT1/em0 interface ?
Just copied the rule from em1 lan
Wrong !!
"LAN Net" is ….. LAN net. And NOT "OPT1 net", or whatever you called it.
So, change this and you'll be good.Think about it : do IP's that are present on your LAN (em1 - probably 192.168.1.x - delivered by the server DHCP on the LAN segment) even exist on your em0 (OPT1) : No, of course not.
More clear : 192.168.1.0/24 IS NOT 192.168.2.0/24 - or, "LAN Net" is not "OPT net", or : your pass rule will blocks everything .... ;)Btw : your "OPT net" is called "WIFI net", like mine.
-
-
…..
And speed is good too.That's not pfSense - says a little bit about the hardware - and much more about your ISP ;)
Glad all is well now. -
The point was just that the speed between wan, pfsense, ap and wireless client was good.