> For the complete documentation index, see [llms.txt](https://ref.vdbx.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ref.vdbx.io/speedify.md).

# Speedify

## Linux Terminal

### Install

```bash
curl -Sl 'get.speedify.com/pgp.key' \
  | gpg --quiet --dearmor \
  | sudo tee '/usr/share/keyrings/connectify-archive-keyring.gpg'
```

```bash
echo \
  'deb [signed-by=/usr/share/keyrings/connectify-archive-keyring.gpg] http://apt.connectify.me/ speedify main' \
  | sudo tee '/etc/apt/sources.list.d/connectify.list'
```

```
apt update
apt install speedify
```

### Login & Setup

```
/usr/share/speedify/speedify_cli login {username} {password}
```

```
/usr/share/speedify/speedify_cli connect
```

```
/usr/share/speedify/speedify_cli startupconnect on
```

```
/usr/share/speedify/speedify_cli connectmethod p2p
```

## LXC Containers

I used a combination of these two docs to enable the TUN device in an LXC containter.

<https://www.cloudhosting.lv/eng/faq/How-to-enable-tun-tap-inside-LXC>

<https://forum.proxmox.com/threads/passing-usb-device-on-lxc-not-working-after-upgrade-to-7-0.92178/#post-401606>

Use <mark style="color:green;">`nano`</mark>`/etc/pve/lxc/123.conf` to add the following lines to the LXC boot config.

```
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
```

Add the following to `/etc/rc.local` inside the container

```bash
if ! [ -d /dev/net ];then
 mkdir /dev/net
fi
if ! [ -c /dev/net/tun ]; then
 mknod /dev/net/tun c 10 200
 chmod 666 /dev/net/tun
fi
```

## Reference

<https://support.speedify.com/article/562-install-speedify-linux>
