====== Environment variables ======
#disable logs
TS_NO_LOGS_NO_SUPPORT=true
#always use DERP relay
TS_DEBUG_ALWAYS_USE_DERP=true
env file on Windows:
C:\ProgramData\Tailscale\tailscaled-env.txt
====== Use with Bird ======
create vxlan0:
#!/usr/bin/env bash
ip link delete vxlan0 2>/dev/null
ip link add vxlan0 type vxlan \
id 100 \
dstport 4789 \
local \
nolearning
#proxy
ip addr add 192.168.100.1/24 dev vxlan0
ip link set vxlan0 up
bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst
bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst
iptables redirect:
iptables -t nat -A PREROUTING -i vxlan0 -d -p tcp --dport -j DNAT --to-destination