Tailscale Exit Node: Difference between revisions

From Irregularpedia
Jump to navigation Jump to search
Initial
(No difference)

Revision as of 05:34, 7 September 2024

Set up Exit Node Setup

https://tailscale.com/kb/1103/exit-nodes?tab=linux https://tailscale.com/kb/1320/performance-best-practices#ethtool-configuration

sudo tailscale up --advertise-exit-node

Auto Starting

systemctl is-enabled networkd-dispatcher
sudo nano /etc/systemd/system/ethtool-tailscale-settings.service
[Unit]
Description=Apply ethtool settings for Tailscale optimizations
After=network.target

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'NETDEV=$(ip route show 0/0 | cut -f5 -d" ") && ethtool -K $NETDEV rx-udp-gro-forwarding on rx-gro-list off'

[Install]
WantedBy=multi-user.target