-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exit nodes: Control internet access using Tailscale ACLs
- Loading branch information
1 parent
989a942
commit 103fafe
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+50.6 KB
src/content/blog/2021-08-13-tailscale-exit-nodes-internet-access/image.webp
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
src/content/blog/2021-08-13-tailscale-exit-nodes-internet-access/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |