User Tools

Site Tools


tailscale

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tailscale [2025/03/29 06:32] – created ealmrtailscale [2026/04/08 01:13] (current) ealmr
Line 5: Line 5:
   #always use DERP relay   #always use DERP relay
   TS_DEBUG_ALWAYS_USE_DERP=true   TS_DEBUG_ALWAYS_USE_DERP=true
 +  
 +env file on Windows:
 +  
 +  C:\ProgramData\Tailscale\tailscaled-env.txt
 +  
 +====== Use with Bird ======
 +
 +create vxlan0:
 +
 +<code>
 +#!/usr/bin/env bash
 +
 +ip link delete vxlan0 2>/dev/null
 +
 +ip link add vxlan0 type vxlan \
 +    id 100 \
 +    dstport 4789 \
 +    local <local_tailscale_ip> \
 +    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 <target_tailscale_node_ip>
 +bridge fdb append 00:00:00:00:00:00 dev vxlan0 dst <target_tailscale_node_ip>
 +</code>
 +
 +iptables redirect:
 +
 +  iptables -t nat -A PREROUTING -i vxlan0 -d <ip> -p tcp --dport <port> -j DNAT --to-destination <tailscale_ip:port>
tailscale.1743229942.txt.gz · Last modified: by ealmr

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki