¿How-to install pi-hole in different directory/ port (public web-server)?

Hi, I just set up a web server for private search and browsing:
https://libre-find.online.

At home, I'm using a Pi-hole on a Raspberry Pi Zero, but I would like to use this webserver for private browsing 'on the go,' especially when traveling.

Which strategy would you recommend for installing Pi-hole on the web server https://libre-find.online, avoiding conflicts with my current installation of LibreY on :80 (nginx)?

Best, Robert

Do I understand correctly that you want to set up Pi-hole on a publicly available server? And you then intend to add the IP of this server as your DNS server for on the go?

If so, you must not do this. You do not want to host a public DNS server.

Thanks for your comment! If I understand correctly installing Pi-hole on a public server is a bad idea?

Should I install Pi-hole on my traveling laptop instead?

Pi-hole is intended to be deployed on a trusted network containing trusted computers and devices. It shouldn't be exposed to the Internet, as a way to reach it when away from your network, as it will be found and quickly abused to cause problems for others.

To access your Pi-hole while away you can use a VPN to send all DNS privately back to your trusted network, eg take a look at the Pi-hole WireGuard guide. Alternatively you can create a small travel Pi-hole, which is handy if you want to use other networks or if you have family in a car who want to go online.

I guess you could install it on a travel laptop, with the caveat that it needs to be available all the time, so the laptop would either need to be running a supported OS or else a small VM which would need to stay fired up.

I love the idea of a travel router. Are there 'hackable' portable devices that are Pi-hole friendly? I don't want to carry another 'suspicious' (Raspberry pinkish :wink:) gadget through customs. Also, the thing must be easily configurable. I'm a scientist, and I travel to countries that block commercial VPNs and Tor and scan your traffic (and devices?)...

Use a VPN (as suggested by chrislph) to access your current installation.

Allowing public access to your DNS port (53) is a really bad idea. It will become a open resolver, causing issues for you and for other people on the Internet.

Thanks! Yes, indeed, I usually use a VPN, but I experienced being blocked (see above). Thus, I'm looking for a more 'artisanal' solution. A travel router running Pi-hole seems a good solution. Are there any recommendations on suitable devices?

There are some how-tos out there that explain how to convert a Raspberry Pi into a Travel-Router.

If your laptop is capable of running docker.. you could run pi-hole in a docker container, and then just point your laptops DNS at localhost

Take a look at that link above and the TP-Link model used by jfb with good results. It's really low cost and small.

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