Development

TunSafe is now available for Linux, FreeBSD, and OSX. To get started, you need to download the source code and build the executable.

The source code of TunSafe can be found at https://github.com/TunSafe/TunSafe.

Go to TunSafe Source Code

Please ask in the forum about any questions you may have relating to the source code. Do note that TunSafe is still experimental software and may contain severe bugs or vulnerabilities.

This open sourced TunSafe code is AGPL-1.0 licensed. Do note that the repository contains BSD and OpenSSL licensed files, so if you want to release a version based off of this repository you need to take that into account.

The source code also contains some experimental new Wireguard extensions that are disabled.

Building on Linux

$ sudo apt-get install clang-6.0 
$ git clone https://github.com/TunSafe/TunSafe.git
$ cd TunSafe
$ sh ./build_linux.sh

Building on FreeBSD

$ sudo pkg install gcc7
$ git clone https://github.com/TunSafe/TunSafe.git
$ cd TunSafe
$ sh ./build_freebsd.sh

Building on OSX

$ git clone https://github.com/TunSafe/TunSafe.git
$ cd TunSafe
$ sh ./build_osx.sh

Building on Windows

NASM needs to be installed in c:\dev\nasm, otherwise edit crypto/nasm.props.

Open TunSafe.sln and build.