Skip to content

Commit

Permalink
Exit nodes: Control internet access using Tailscale ACLs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 7, 2024
1 parent 989a942 commit 103fafe
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: 'Exit nodes: Control internet access using Tailscale ACLs'
seoTitle: 'Exit nodes: Control internet access using Tailscale ACLs'
slug: 'tailscale-exit-nodes-internet-access'
description: 'Tailscale has a new host to control internet access on an exit nodes. Add it to your Tailscale ACLs to allow access only for certain devices.'
pubDate: 'Aug 13 2021'
updatedDate: 'Oct 07 2024'
tags: ['Tools', 'Infrastructure', 'Security']
coverImage: './image.webp'
---

import R2Image from 'src/components/R2Image.astro';

I love Tailscale's exit nodes functionality. Makes it easy to tunnel out of a virtual machine in any country. The idea is very similar to commercial VPNs like Mullvad and NordVPN, but is self-hosted.

I share my Tailscale network with friends and family, mostly to allow their usage of my [pi-hole nodes](https://www.arun.blog/blog/private-pi-hole-hosting-fly-tailscale). I wanted to prevent them from using my exit nodes though.

Last week, I found that Tailscale has [a new Access Control Lists (ACLs) functionality to enable or disable internet access](https://github.com/tailscale/tailscale/issues/1742#issuecomment-884469202) on such nodes. Add `autogroup:internet:443,22` to your devices' accept rule, and you are good to go.

<R2Image
imageKey='blog/assets/tailscale-exit-nodes-internet-access-1181638e-cd98-80a0-a9d0-ee3b36b88c1b.png'
alt='A screenshot of a GitHub comment, which describes a new host to control internet access on the exit nodes using Tailscale Access Control Lists.'
/>

Every other device on your Tailscale network wouldn't be able to use the public internet when they tunnel out of such nodes.

0 comments on commit 103fafe

Please sign in to comment.