Artix Linux Forum

Artix Linux => Package management => Topic started by: julianmarcos on 31 May 2021, 11:02:08

Title: [SOLVED]tailscale service for runit /s6 / OpenRC
Post by: julianmarcos on 31 May 2021, 11:02:08
There is no such package as
Code: [Select]
tailscale-runnit tailscale-s6 tailscale-openrc
Can whe fix this?, tailscale provides a systemd service
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: strajder on 31 May 2021, 11:29:02
The name of the supervision suite is s6, not s3.

https://skarnet.org/software/s6/
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: julianmarcos on 31 May 2021, 12:05:12
The name of the supervision suite is s6, not s3.

https://skarnet.org/software/s6/
Sorry
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: VictorBrand on 31 May 2021, 19:48:11
Init files for OpenRC are often available in Gentoo repos.
For tailscale, I suppose, it's this:
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-vpn/tailscale/files

For runit and s6, I'm afraid, one needs to create them manually.
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: julianmarcos on 31 May 2021, 20:23:39
For runit, run the following script to install:
Code: [Select]
#!/bin/sh
[ "root" != "$USER" ] && exec sudo $0 "$@"
export DIR=/etc/runnit/sv
export FILE=$DIR/run
mkdir -p -- $DIR
tee $FILE << EOF
#!/bin/sh
[ -r /etc/default/tailscaled ] && . /etc/default/tailscaled
/usr/sbin/tailscaled --cleanup
exec /usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state \
  --socket=/run/tailscale/tailscaled.sock --port "$PORT" $FLAGS
EOF
chmod +x $FILE
Then doing the usual ln -s, etc... Thanks @capezotte
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: ndowens on 31 May 2021, 21:15:44
Edit: s6 version has been added

Edit2:  openrc version has been added
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: zippy99 on 01 June 2021, 00:33:32
Who needs such a VPN solution which requires  Google, Microsoft (https://tailscale.com/kb/1017/install/) for setup an account?

Need another provider?
Contact our team to request a trial.
https://login.tailscale.com/start

Quote
gmail.com addresses are treated specially: they always authenticate through Google without needing to be configured first.

Once you’ve authenticated a Tailscale agent by connecting it to your identity provider, it automatically exchanges keys and connectivity information with the Tailscale Coordination Server and connects to other Tailscale agents on your network, subject to your security policy.

There is Headscale for setup a Tailscale Coordination Server
https://github.com/juanfont/headscale

There is also SoftEther VPN in AUR but a little behind...
https://www.softether.org/
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: julianmarcos on 01 June 2021, 08:41:02
Who needs such a VPN solution which requires  Google, Microsoft (https://tailscale.com/kb/1017/install/) for setup an account?

Need another provider?
Contact our team to request a trial.
https://login.tailscale.com/start

There is Headscale for setup a Tailscale Coordination Server
https://github.com/juanfont/headscale

There is also SoftEther VPN in AUR but a little behind...
https://www.softether.org/
Thanks, because i like to use self hosted things.
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: strajder on 01 June 2021, 12:20:20
There is Headscale for setup a Tailscale Coordination Server
https://github.com/juanfont/headscale

There is also SoftEther VPN in AUR but a little behind...
https://www.softether.org/
Well no VPN is truly private. There is this recent video by Mental Outlaw about it: https://youtu.be/kBGn1MVBUZE

It is common sense, though. No provider can turn down a court order, and why wouldn't they sell your data when they can earn good money on it? They simply rely on users trusting their false claims.
Title: Re: tailscale service for runnit or s3 or OpenRC
Post by: julianmarcos on 01 June 2021, 13:05:16
Well no VPN is truly private. There is this recent video by Mental Outlaw about it: https://youtu.be/kBGn1MVBUZE

It is common sense, though. No provider can turn down a court order, and why wouldn't they sell your data when they can earn good money on it? They simply rely on users trusting their false claims.
True, i have viewed that video early this morning