.s/scripts/start-subnet-router.sh

7 lines
182 B
Bash
Executable File

#!/bin/sh
NETDEV=$(ip route show 0/0 | cut -f5 -d' ')
sudo ethtool -K $NETDEV rx-udp-gro-forwarding on rx-gro-list off
sudo tailscale up --advertise-routes=10.0.0.0/24,10.0.1.0/24