--- strongswan-5.3.3//src/libcharon/plugins/kernel_libipsec/kernel_libipsec_plugin.c	2014-05-14 14:02:02.000000000 +0200
+++ src/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_plugin.c	2015-10-29 15:27:08.318876537 +0100
@@ -101,6 +101,7 @@
 plugin_t *kernel_libipsec_plugin_create()
 {
 	private_kernel_libipsec_plugin_t *this;
+	const char *pat;
 
 	if (!lib->caps->check(lib->caps, CAP_NET_ADMIN))
 	{	/* required to create TUN devices */
@@ -126,7 +127,10 @@
 		return NULL;
 	}
 
-	this->tun = tun_device_create("ipsec%d");
+	pat = lib->settings->get_str(lib->settings, "%s.tun_netdev", "ipsec%d",
+				     lib->ns);
+
+	this->tun = tun_device_create(pat);
 	if (!this->tun)
 	{
 		DBG1(DBG_KNL, "failed to create TUN device");
