Tailscale: Difference between revisions
Tag: Undo |
|||
Line 21: | Line 21: | ||
Tailscale allows you to overwrite the DNS on each client and supports split DNS.<br> | Tailscale allows you to overwrite the DNS on each client and supports split DNS.<br> | ||
You can combine this with nextdns to rewrite certain DNS entries when Tailscale is connected.<br> | You can combine this with a custom dns resolver (e.g. nextdns) to rewrite certain DNS entries when Tailscale is connected.<br> | ||
One idea could be to let Cloudflare proxy all your websites to get CDN, DDOS protection, etc. But clients with Tailscale can directly connect with your webserver. | One idea could be to let Cloudflare proxy all your websites to get CDN, DDOS protection, etc. But clients with Tailscale can directly connect with your webserver. |
Revision as of 18:49, 21 April 2024
Tailscale is an local mesh VPN which sets up direction connections between devices in your Tailscale network. Under the hood, it uses its own userspace wireguard implementation along with NAT traversal. In the event devices cannot connect directly, traffic passes through it's DERP relay servers.
Exit Node
For processing the exit node, Tailscale uses iptables with mask 0xFF0000.
This may conflict with other applications such as Calico.
This issue suggests changing the mask used in Calico.
CLI
Tailscale comes with the command tailscale
.
Some common use cases are:
# See other hosts and their tailscale ips
tailscale status
# Check if another host is directly reachable
tailscale ping $HOST
Split DNS
I have not tried this
Tailscale allows you to overwrite the DNS on each client and supports split DNS.
You can combine this with a custom dns resolver (e.g. nextdns) to rewrite certain DNS entries when Tailscale is connected.
One idea could be to let Cloudflare proxy all your websites to get CDN, DDOS protection, etc. But clients with Tailscale can directly connect with your webserver.