Skip to content

Synology exit-node crashes #2658

@andrej-zirko

Description

@andrej-zirko

I installed Tailscale from the official Synology package manager on my Synology DS118. The default configuration seems to work. I tried to enable exit node on the Synology and it works for a little while. I confirmed this using whatsmyip on the other client. The traffic is routed through the Synology. However in the few moments it stops working.

Status after it stops working

$ sudo /var/packages/Tailscale/target/bin/tailscale status 

Get "http://local-tailscaled.sock/localapi/v0/status": dial unix /var/packages/Tailscale/var/tailscaled.sock: connect: connection refused 

Here is how I enable the exit node - using the Synology task setup after the boot up

sleep 60 

/var/packages/Tailscale/target/bin/tailscale up --reset --advertise-exit-node 

Here are the hopefully relevant logs

acceptUDP: could not create endpoint: no route 
acceptUDP: could not create endpoint: no route 
acceptUDP: could not create endpoint: no route 
acceptUDP: could not create endpoint: no route 
acceptUDP: could not create endpoint: no route 
[RATELIMIT] format("acceptUDP: could not create endpoint: %v") 
netstack: could not connect to local server at [2600:1901:0:c584::]:443: dial tcp [2600:1901:0:c584::]:443: connect: network is unreachable 
netstack: could not connect to local server at [2600:1901:0:c584::]:443: dial tcp [2600:1901:0:c584::]:443: connect: network is unreachable 
[RATELIMIT] format("acceptUDP: could not create endpoint: %v") (11 dropped) 
acceptUDP: could not create endpoint: no route 
acceptUDP: could not create endpoint: no route 
netstack: could not connect to local server at obfuscated:8080: operation was canceled 
netstack: could not connect to local server at obfuscated:8080: operation was canceled 
netstack: could not connect to local server at obfuscated:8080: operation was canceled 
netstack: could not connect to local server at obfuscated:8080: operation was canceled 
[RATELIMIT] format("netstack: could not connect to local server at %s: %v") 
panic: interface conversion: net.Addr is nil, not *net.TCPAddr 

goroutine 1123 [running]: 
tailscale.com/wgengine/netstack.(*Impl).forwardTCP(0x400017a3f0, 0x4000073c80, 0x40001a0510, 0x400069e21c, 0x4, 0x1f90) 
    tailscale.com@v1.1.1-0.20210610140605-f944614c5c0a/wgengine/netstack/netstack.go:491 +0xa18 
tailscale.com/wgengine/netstack.(*Impl).acceptTCP(0x400017a3f0, 0x4000016e80) 
    tailscale.com@v1.1.1-0.20210610140605-f944614c5c0a/wgengine/netstack/netstack.go:459 +0x278 
created by inet.af/netstack/tcpip/transport/tcp.(*Forwarder).HandlePacket 
    inet.af/netstack@v0.0.0-20210317161235-a1bf4e56ef22/tcpip/transport/tcp/forwarder.go:94 +0x288 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions