atlasVPN on slackware

Hello everyone,

I’m crossasking from linuxquestions, I hope it’s ok.

https://www.linuxquestions.org/questions/slackware-14/trying-to-use-atlas-vpn-on-slackware-4175723037/

I’m trying to make atlasvpn work on Slackware, I’m on slackware64-current, and I was gifted a 3year subscription to atlasvpn. It’s advertised as working on linux, but of course they only provide .deb packages.

after exploding the package there’s only 2 executables, a client and a daemon, and a couple of systemd files, a .service and a .socket

What I can’t understand is how to attach the socket to the daemon, when I run the daemon it exits complaining that there are no sockets available. Here’s the output:

2023-03-17T09:41:24.147+0100    FATAL   unexpected number of active sockets     {"sockets": 0}

Do you guys have any idea? I’ve never worked with systemd, so I don’t know how to “translate” it to Slackware.

The only thing that came to mind is to execute the daemon with inetd, but I don’t really know how to set it up.

Any kind of suggestion is really appreciated.

Thanks a lot in advance

Is there another way you can use this without the app? I use Mullvard with Wireguard. Mullvard offers conf files for their servers. I place these files in /etc/wireguard. I then put a line like this in /etc/rc.d/rc.local:

wg-quick up /etc/wireguard/country-city.conf

I don’t think there’s a way without their app, it’s needed to connect to their servers and they don’t offer configurations for devices not supported by their app.

I got the Mullvad app to work on Slackware. Was pretty happy with myself there but it was doing some crazy logging stuff and making a mess of my temp dir so I removed it but the deb package app will work. Wireguard is good enough though, I just like the cool app they have created.

I’ve tried -h and --help to no avail, the daemon doesn’t seem to have command line parameters available.

My intention, when I have time, is write a script using the ubiquitous dialog as a means to test the connections and quickly change between location conf files… yet another thing to add to my to do list*

* I also really want to work on soma so it can stream youtube live stream channels like LofiGirl and add more functionality like notification and a few other things but work does insist that I turn up and do the things that they want

Agreed. These damn companies and their expectations of their employees. Could live without them, if only we didn’t live in society.

atlasvpnd.service

[Unit]
Description=AtlasVPN Daemon
Requires=atlasvpnd.socket
After=network-online.target
Wants=network-online.target

[Service]
ExecStart=/usr/sbin/atlasvpnd
NonBlocking=true
KillMode=process
Restart=on-failure
RestartSec=5
User=root

[Install]
WantedBy=default.target

atlasvpnd.socket

[Unit]
Description=AtlasVPN Daemon Socket
PartOf=atlasvpnd.service

[Socket]
ListenStream=127.0.0.1:8076
NoDelay=true
SocketUser=root

[Install]
WantedBy=sockets.target

I hope reddit doesn’t mess up the paste

I don’t have that command, what package is it from?

nevermind, I found the source code and built it, but when I run atlasvpnd in another terminal, it still exits complaining that there’s no socket for it.

I’ve also tried to run it as

socket -sl 8076 -p atlasvpnd

but it simply stays there without doing nothing and the client doesn’t do anything either.

I’m kind of lost at the moment.