LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2024, 06:20 AM   #1
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142

Rep: Reputation: 15
tailscale and pihole (on Raspberry Pi) - to be only available to some of my tailscale machines


Hi

I was using pivpn and pihole on the same pi and it worked flawlessly. Since then I have a new internet provider who uses CGNAT and I can no longer get through, so have switched to tailscale, which is brilliant so far.

However, I cannot get tailscale to serve only specific machines to the pihole. In fact, the only way to do it is for pihole to listen on all ports - which I do not want - and for me to force the pihole as an exit node for everyone.

I set up a tag (VPN) and want any tagged machine to use the pihole - just as I would have done when out and about in coffee shops etc.

Has anyone done this successfully - and if so, please can you explain what I need to do in tailscale (and presumably the ACLs) and on the pihole itself.

Thanks in advance - I have spent a good few days trying to sort this but am getting nowhere. Everything I read is about pushing ALL traffic through the pihole and I simply do not want that to happen.
 
  


Reply

Tags
raspberrry pi, vpn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pihole uninstalled, still getting pihole related errors in my syslog tuxthegreat Linux - Newbie 6 10-27-2023 09:21 AM
Pihole only shows 1 hour in the Total queries over last 24 hours- Solved tuxthegreat Linux - Security 1 06-16-2021 04:09 PM
[SOLVED] Pihole on Ubuntu - pihole as DNS, enabling UFW LinusGates Linux - Networking 6 06-30-2020 07:53 AM
LXer: Encrypted tunneling with Tailscale and WireGuard LXer Syndicated Linux News 0 05-02-2020 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration