MayVaneDay Studios

Archive ⋙ Tutorials 


How to install Syncthing on Tails

last updated: 7-1-2019


  1. Create a persistent volume in Tails. If you already have a persistent volume configured with Additional Software, Dotfiles, and Personal Data enabled, skip to step 2.

After your first boot, go to the Applications menu in the top left corner. Open the Tails menu, and then select “Configure persistent volume”. Follow the on-screen instructions. At the very least, enable Additional Software, Dotfiles, and Personal Data. When the on-screen instructions tell you to reboot, do so.

  1. Set up an admin password on Tails.

On boot, go to the advanced settings button in Tails Greeter (the first window that pops up, before you go to the desktop). Click on the plus button, then select Administration Password. Type in a password of your choice and click Add.

  1. Install Syncthing.

sudo apt install syncthing

  1. Configure Syncthing to use Tails’ SOCKS5 proxy and use your Persistent folder for its configuration.

Open ~/.bashrc in your favorite text editor. At the end of the file, add the following lines:

export all_proxy=socks5://

alias sta=‘syncthing --home=/home/amnesia/Persistent/.config/syncthing’

Save and close the file. Copy it into your persistent Dotfiles folder, usually at /live/persistence/TailsData_unlocked/dotfiles/.

  1. Initialize and start Syncthing.

Reboot and unlock your persistent volume. Once on the desktop, open a terminal and type sta.

  1. Configure Tor Browser to connect to the Syncthing web interface.

Open Tor Browser (obviously). Open the hamburger menu and click on Preferences. At the very bottom, click on “Settings” next to “Configure how Tor Browser connects to the internet”. In the “no proxy for” box, type in “” without the quotes.

Click the OK box and exit Preferences. Open another terminal and type:

sudo iptables -I OUTPUT -o lo -p tcp --dport 8384 -j ACCEPT

You will need to do step 6 every time you reboot Tails, as there is currently no way to make this persistent.