Index: tools/proxy-8.0/wleiden.pl
===================================================================
--- tools/proxy-8.0/wleiden.pl	(revision 7411)
+++ tools/proxy-8.0/wleiden.pl	(revision 7430)
@@ -284,6 +284,19 @@
     $output .= "\n";
     $output .= "sshtun_enable=\"YES\"\n";
-    $output .= "sshtun_port=\"22$proxyid\"";
-  }
+    $output .= "sshtun_port=\"22$proxyid\"\n";
+  }
+
+  if( $internalif ) {
+     $output .= "\n";
+     $output .= "# Firewall needed for NAT\n";
+     $output .= "firewall_enable=\"YES\"\n";
+     $output .= "firewall_nat_enable=\"YES\"\n";
+     $output .= "firewall_nat_interface=\"" . $internalif . "0\"\n";
+     $output .= "firewall_type=\"OPEN\"\n";
+  }
+
+
+
+
   return($output);
 };
