You are not logged in.

#1 2024-01-23 01:03:52

hully
Member
Registered: 2022-11-14
Posts: 164

[SOLVED] pihole doens't work at work

I installed pihole standalone version following the wiki's instructions.

So I did:

paru -Syu pi-hole-standalone
systemctl stop systemd-resolved
systemctl disable systemd-resolved
systemctl start pi-hole-gravity.timer
systemctl start pihole-FTL.service
chattr -i /etc/resolv.conf
echo "nameserver 127.0.0.1" > /etc/resolv.conf
chattr +i /etc/resolv.conf

The suggested way to test if it is working is to go to cnn.com and see if you can see any website.

This setup is working correctly when I'm at home. I can navigate the internet and I don't see any adblock.

But it isn't working when I'm at work.

That is, pihole is not doing its job when I'm on the job.

In particular, when I'm at work my computer is unable to resolve hostnames. So I'm unable to navigate the internet.

At work I'm behind corporate firewall.

Can you help me debug my issues?

Last edited by hully (2024-01-24 08:55:56)

Offline

#2 2024-01-23 03:04:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: [SOLVED] pihole doens't work at work

What does your company think about non-corporate assets on their network?  Many places that is against policy.  Many enforce that policy with technical measures.

My next questions would be IPv4? IPv6? Static? Dynamic? If dynamic, is your device being assigned an address?
Are the 3rd party sites the Pi-Hole needs blocked by the company network?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2024-01-24 08:54:41

hully
Member
Registered: 2022-11-14
Posts: 164

Re: [SOLVED] pihole doens't work at work

ewaller wrote:

What does your company think about non-corporate assets on their network?  Many places that is against policy.  Many enforce that policy with technical measures.

My next questions would be IPv4? IPv6? Static? Dynamic? If dynamic, is your device being assigned an address?
Are the 3rd party sites the Pi-Hole needs blocked by the company network?

Thank you very much.

I configured pihole to use Cloudflare DNS over HTTPS as a DNS backend, and it is now working even at work.

See instructions in the wiki to configure Cloudflare and to set pihole DNS backend.

it looks like my corporate firewall is blocking Google DNS servers, which are the default servers used by pihole.

Or its blocking any DNS server except the ones provided by the DHCP?

And it is not able to detect Cloudflare DoH traffic?

Last edited by hully (2024-01-24 08:55:19)

Offline

Board footer

Powered by FluxBB