Gehlvora DocsTact-VC gehlvora.com

Tact-VC / Troubleshooting / Vides

Host your group's Vide

Run a Vide for your group on a computer at home that is always on.

A Vide for your group helps your friends find each other again after their internet addresses changed. It never carries calls or chat and keeps nothing on disk but its key. Setting it up takes about 15 minutes.

What you need

  • A computer at home that stays on day and night: a Mac with Apple silicon, Windows 10 or 11, or Linux with systemd on a PC (x86-64).
  • The password you use to sign in to that computer.
  • Maybe the password of your router. You only need it if the check says so.

Get the program

Tact-VC carries the Vide program.

  1. In Tact-VC, click the Vide card on the home screen.
  2. Under Run your group's Vide, pick the system of the computer that will run it.
  3. Click Save… and save the file.
  4. Copy it to that computer and unpack it (double-click it, or on Windows right-click it and choose Extract All…). The folder holds a README.txt with the same steps as this page.

Open a terminal in the folder

  • macOS: press ⌘ + Space, type Terminal, press Return. Type cd (with a space), drag the folder into the window, press Return.
  • Windows: search for PowerShell in the taskbar, right-click Windows PowerShell and choose Run as administrator. In File Explorer, right-click the folder and choose Copy as path. In PowerShell, type cd , right-click to paste the path, press Enter.
  • Linux: open a terminal in the folder.

Find your home's internet address

Type this and press Return (Enter on Windows):

  • macOS and Linux: curl -4 ifconfig.me
  • Windows: curl.exe -4 ifconfig.me

It shows a few numbers with dots, such as 203.0.113.25. That's the address the internet sees for your home. Write it down.

Install

Type this as one line, with your address instead of <your address> (leave out the < and >):

  • macOS and Linux: sudo ./tact-vc-vide install --host <your address> --upnp
  • Windows: ./tact-vc-vide.exe install --host <your address> --upnp

On macOS and Linux, type your password when asked; nothing shows while you type.

It shows the Vide code, a long line like VIDE-3f1a…e9c0@203.0.113.25:47199. Copy the whole line and send it to your friends. They add it in the Add a group's Vide row, see Set up Vides.

The Vide starts by itself with the computer, even when nobody is signed in. Set the computer never to sleep, and keep a laptop plugged in.

Check it from outside

Check from outside your home: from inside, the check can fail even when all is well. The easiest way is a second computer on your phone's hotspot, with the same Vide program unpacked on it. In a terminal in its folder, type:

  • macOS and Linux: ./tact-vc-vide check <the Vide code>
  • Windows: ./tact-vc-vide.exe check <the Vide code>

answered: done, your Vide works. no answer: your router blocks it; open it as below, then check again.

Open the router

Only if the check said no answer.

  1. Find your router's address and this computer's address:
    • Windows: ipconfig. The router is Default Gateway, this computer IPv4 Address.
    • macOS: route -n get default | grep gateway shows the router; ipconfig getifaddr $(route -n get default | awk '/interface/{print $2}') shows this computer.
    • Linux: ip route | grep default; hostname -I.
  2. Type the router's address into your browser's address bar, such as http://192.168.1.1. Its password is often on a sticker on the router.
  3. Look for a setting called port forwarding, port sharing, virtual server, NAT rules, applications or gaming (often under Internet, Network, NAT, Firewall or Advanced). Add one for this computer: protocol UDP, port 47199. Save it.
  4. Instead of step 3, many routers let you allow UPnP for this computer.
  5. Turn on a fixed address for this computer in the router, so the rule keeps pointing at it.

Then check again. More help: Port forwarding.

If it still says no answer, your provider may share one address among many customers, and nothing at home can be reached from the internet. Ask your provider for a public IPv4 address, or run the Vide on a small rented server. See Shared internet address.

See how it's doing

Run tact-vc-vide status (with sudo on macOS and Linux, as administrator on Windows). It shows Vide: running, the Vide code and some counts. Most counts stay at 0 while your friends reach each other directly: their apps ask the Vide only when they can't find a friend. introductions counts how often it brought two friends together.

Later

  • Your home's address changed (friends can't reach the Vide, and your address shows a different number): install again with the new address and send your friends the new code. Many routers offer a fixed name instead (Dynamic DNS, DDNS); use it in place of the number.
  • New version: save the new program from Tact-VC and install again. The Vide code stays the same.
  • Remove it: sudo ./tact-vc-vide uninstall (Windows: ./tact-vc-vide.exe uninstall). The key stays, so installing again gives the same code. To forget it too, delete its folder: /Library/Application Support/tact-vc-vide on macOS, /var/lib/private/tact-vc-vide on Linux, C:\ProgramData\tact-vc-vide on Windows.

Still not working

See A Vide doesn't connect.

Updated