Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The main freelan repository.
C++ C HTML Python Shell Inno Setup

Merge pull request #85 from zoopp/compilation-errors-fix

Fixed compilation errors under Archlinux and possibly other platforms
latest commit 3177dd8b21
@ereOn ereOn authored
Failed to load latest commit information.
apps/freelan Whitespace
artwork Added icons
libs Fixed compilation errors when compiling against boost 1.58
packaging packaging: fix whitespace omission in windows README
provisioning Renamed freelan2 to freelan (#59)
samples Implemented PSK support #34
scripts Renamed freelan2 to freelan (#59)
third-party Fixed OpenSSL on Windows and added support for debug third-party build
.gitattributes Removed the autocrlf for text files
.gitignore Moved the OSX package generation to SCons (#30)
.gitmodules Updated submodules
.party Updated curl version
.travis.yml Fixed travis overriding the environment variable for g++
.valgrind-suppressions Added valgrind suppressions Adapted SConscript to allow for OpenWRT cross-compilation (#68) Fixed build instructions #32
LICENSE Compiled freelan
Makefile Added support for a different binary prefix rename Makefile to #56 Added a link to the donate page
SConscript Fixed reversed logic in samples symlink creation
SConstruct Fixed incorrect detection of g++ in SConstruct
VERSION Bumped version number
Vagrantfile Upgrade provisioning files
defines.hpp.template Added Git describe to the version output. Moved the OSX package generation to SCons (#30)
freelan-all.sln Added dependency on libcryptoplus for libmongooseplus
fscp.txt Moved the FSCP specification at the root
gpl-3.0.txt Added basic constructions scripts Explicit linkage with libc++ on OSX for Boost


What is FreeLAN?

A peer-to-peer, secure, easy-to-setup, multi-platform, open-source, highly-configurable VPN software.


FreeLAN is available on Windows, Mac OSX and Linux (Debian-based distributions). Check the official website for installers.

If your platform is not officially supported, dot not despair and try to build-it yourself ! Check the build instructions for details on how to do that.


FreeLAN can be configured to support any network topology, be it a traditional client-server structure or a full-mesh one. The emulated network can operate at the Ethernet or at the IPv4/IPv6 levels. Security can be achieved through the use of certificates or via a simple shared passphrase.

For instance, creating a simple VPN node can be done with:

freelan --security.passphrase "my secret"

This will start a VPN node, listening for connections on all interfaces on the port UDP:12000. The node will pick the default IPv4 address inside the emulated network.

To connect to another node, just specify the option, like so:

freelan --security.passphrase "my secret"

Each node should have a different virtual IP address: you can specify the IPv4 address to use with the tap_adapter.ipv4_address_prefix_length option, like so:

freelan --security.passphrase "my secret" --tap_adapter.ipv4_address_prefix_length

Check out the configuration file for details !

Frequently Asked Questions

Is there a graphical interface ?

A graphical user interface is planned but nothing is made public yet. You will just have to be patient :)

Can I use FreeLAN to access forbidden websites/websites in other countries with restrictions ?

FreeLAN is not a service, it's a software. You can configure it to reach that goal easily, but you'll need an exit-point (a server, a friendly-computer at the right location) on which you can run FreeLAN too. It will always take a minimum of 2 nodes to create a VPN network.


You like FreeLAN and you would like to show your support and help development of next releases ? Check out the donate page !


Check the contributions guidelines.


Check the packaging instructions.

Something went wrong with that request. Please try again.