Tailscale working using entware

475 views
Skip to first unread message

Eduardo Minguez Perez

unread,
Feb 17, 2023, 10:13:33 AM2/17/23
to Alt-F
After installing entware I can confirm tailscale works on a DNS323 with Alt-f!

The only change I did was basically force the tun module to be loaded before running tailscale:

/opt/etc/init.d/S06tailscaled:

```
#!/bin/sh

ENABLED=yes
PROCS=tailscaled
ARGS="--state=/opt/var/tailscaled.state"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

modprobe tun >& /dev/null
. /opt/etc/init.d/rc.func
```

And the /etc/init.d/S81entware file (from https://groups.google.com/g/alt-f/c/a2TAVgzdvzE/m/F65F2_tkCwAJ) :

```
#!/bin/sh

DESC="Entware-ng"
TYPE=sys # uncommenting this will make it appears at Services->System

. /etc/init.d/common

case "$1" in
    start)
    # code to start it, return 0 if OK
    /opt/etc/init.d/rc.unslung start ;;
    stop)
    # code to stop it, return 0 if OK
    /opt/etc/init.d/rc.unslung stop ;;
    status)
    # code to give its status, return 0 if running
    /opt/etc/init.d/rc.unslung check ;;
    restart)
    # code to restart it, return 0 if OK
    /opt/etc/init.d/rc.unslung restart ;;
    *)
    usage $0 "start|stop|status|restart" ;;
esac
```

To be able to access the webui using the tailscale net, I modified the /etc/httpd.conf to add the tailscale net:

```
A:127.0.0.1    #!# Allow local loopback connections
D:*        #!# Deny from other IP connections
A:192.168.33.0/255.255.255.0 #!# Allow local net
A:10.111.111.0/255.255.255.0 #!# Allow vpn net
A:100.0.0.0/255.0.0.0 #!# Allow tailscale net
```

HTH!

Roberto Ribes

unread,
Feb 21, 2023, 2:08:33 AM2/21/23
to Alt-F
Interesting. Lot of people now needs an VPN connection to use Netflix and this is great.

Linhares

unread,
Mar 20, 2023, 1:31:17 PM3/20/23
to Alt-F
This is great!
Thank you for trying and sharing!

Roberto Ribes

unread,
Apr 13, 2023, 6:01:28 PM4/13/23
to Alt-F
Is it possible to install it as an .ipk?

Steve Shimp

unread,
Dec 15, 2025, 2:24:44 PM (3 days ago) Dec 15
to Alt-F
I was finally able to get tailscale (and tailscaled) up and running. I installed Entware, but the package isn't available to install. Also note that Tailscale is no longer supporting the armv5 architecture. There is a package available, but it's an older release.

In any case, I had to change some arguments to get it running. First, I created the folder /opt/var/tailscale to hold the state information. 

Next I edited /opt/etc/init.d/S06tailscaled and set the ARGS variable as "--statedir=/opt/var/tailscale --tun=userspace-networking". The second portion was critical since there is no tunnel device. 

I haven't extensively tested, but it seems to be working just fine.

Reply all
Reply to author
Forward
0 new messages