VPN and tunneling
This page lists tutorials and sample code.
Tinc setup
: A simple setup with tinc as a gateway
Fastd setup
: Similar setup as the above with fastd.
Strongswan: A mobike setup (not published).