robinkrens.nl - Tunneling, repackaging and VPN
This page lists tutorials and sample code.
Using tinc as a gateway. A simple setup with two peers forwarding data:
http://www.robinkrens.nl/tutorials/tinc.html
Fastd setup. Similar setup as the above one
Strongswan