Oskar Stolc's Howto Collection

Articles in the VPN category

Site-to-Site VPN with TINC

Almost all VPN tutorials on Internet cover the simplest possible case of interconnecting two remote LANs. This is not really helpfull, because the real world requirements are more complex than that. Usually there are multiple networks in each location (DMZ, LAN, MGMT, OPS, etc...) and more than just two locations …

L2TP/IPSec Linux Server Behind NAT

In this blog we will learn how to install an L2TP/IPSec Linux Server behind NAT.

IP Assignments

  • L2TP/IPSec Server IP: 192.168.42.190 / 24
  • L2TP/IPSec Client IPs: 192.168.42.191-199

Kernel Parameter Tuning

Add the following to /etc/sysctl.conf

# ---------------- L2TP/IPSec (OpenSwan) ---------------
net.ipv4 …