PFSense blocking DNS
Bugs78 last edited by
i`m building a pfsense firewall as a project and for some reason it is blocking DNS requests so the other machine on the network can't access the internet.
I have created a rule to allow it in both the rules section and in the Floating section and turned logging on in both. and when trying to access the internet I get page cannot be found, and no entries in the system log. I have set pfsense to be the gateway on my test machine but, i`m at a loss where to go from here
The default rule is ANY ANY so dns would be allowed, so unless you changed changed the default rule on the lan interface or brought up a new interface that does not get the deault any any rule your firewall rules would not be the issue.
Normally out of the box dhcp clients will point to pfsense for dns, and dns would be resolving. Where are you pointing your clients for dns? Why not just let pfsense resolve and have your clients use it.
Can pfsense resolve dns names? Are you running forwarder or resolver? Go to the diag, dns lookup - what happens when you try and lookup say www.pfsense.org? Post your results.
tangocr last edited by
The easy way is create a rule in Firewall in LAN network , source any , destination any and select port 53 , after check the order in the rules because if you have a rule block any any up that dns pass dont work the easy way check is position the rule to number 1
mrkhan.83 last edited by
I am facing the same issue. My scenario is I want to block facebook during OFFICE hours & Allow all users to access everything during LUNCH TIME.
I was able to block (as above) the users but it seems when I wanted the to PASS packets with Scheduled = LUNCH TIME . it still blocks.
Although I have kept the PASS (ALLOW LUNCH TIME ) RULE one step up to the Blocked Rule.
#Firewall Screenshot refers to the arrangement of my Rule
#Both Blocked and Enabled Rule in pdf.
built on Wed May 25 14:53:06 CDT 2016