I cannot establish ssh to devices outside of local network

Please follow the below template, it will help us to help you!

Expected Behaviour:

Running PiHole should not block ssh connections to devices outside of the network.

Actual Behaviour:

I am getting messages such as "Host does not exist" when trying to establish ssh to an outside device. The problem appeared after I installed PiHole. However, I can still ssh into PiHole (running on Raspberry Pi2).

Debug Token:

1z3onmu6i1

Can you resolve any other domains on the Internet (like google.com)?

Pi-hole can not block ports of domains, just the domain itself, so saying Pi-hole is blocking SSH connections is misleading.

By resolve, you mean access (sorry, n00b)?
I can access all pages, and the ad blocking function of PiHole is working. I can establish ssh connection to PiHole, but not to any device outside of my home network...

Sorry, I guess I miss the proper vocabulary.

Okay, so that's really strange. When you try to access such an outside device, what does the Query Log on the dashboard (http://pi.hole/admin/queries.php) show? Is the requested domain listed in red or green?

I know, it's really strange! The query log does not even register any traffic when I try to establish an ssh connection. :frowning:

When I disable PiHole (by removing it as DNS server from my router), I can establish SSH connection to the device outside of my network.
I live on campus, where I use the internet connection provided by the University... Is this relevant?

Hmm, maybe, on my university the Internet connectivity was limited with regards to DNS service, but this shouldn't matter here when you can connect to pages on the web.

As the queries do not even appear on the Query Log, I'm more inclined to think that this is not an original Pi-hole issue but maybe rather a problem of your device:

  • What operating system do you use?
  • Do you use the ssh command of your system or some other program to connect to the external ssh devices?
  • Do you have another device from which you can test this or only the one computer you're using so far?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.