PS C:\work> ssh root@100.73.183.65
root@100.73.183.65's password:
BusyBox v1.36.1 (2023-11-14 13:38:11 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 23.05.2, r23630-842932a63d
-----------------------------------------------------
root@OpenWrt:~# cat /etc/config/tailscale
config settings 'settings'
option log_stderr '1'
option log_stdout '1'
option port '41641'
option state_file '/etc/tailscale/tailscaled.state'
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'dda5:edda:cf50::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.38.1'
option netmask '255.255.255.0'
option ip6assign '64'
list ip6class 'wan6'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
config interface 'tailscale'
option proto 'none'
option device 'tailscale0'
config interface 'wan6'
option proto 'dhcpv6'
option device '@wan'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'
...
root@OpenWrt:~# cat /etc/config/firewall
...
config zone
option name 'tailscale'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option masq '1'
option mtu_fix '1'
list network 'tailscale'
config forwarding
option src 'tailscale'
option dest 'lan'
...
root@OpenWrt:~# tailscale status
100.73.183.65 openwrt xiaofanc@ linux -
...
root@OpenWrt:~# ip address show tailscale0
17: tailscale0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc fq_codel state UNKNOWN group default qlen 500
link/none
inet 100.73.183.65/32 scope global tailscale0
valid_lft forever preferred_lft forever
...