User Tools

Site Tools


tailscale

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
tailscale [2025/11/14 02:16] ealmrtailscale [2026/04/08 01:13] (current) ealmr
Line 9: Line 9:
      
   C:\ProgramData\Tailscale\tailscaled-env.txt   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.txt · Last modified: by ealmr

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki