summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-02-15 21:26:04 +0000
committerErmal Luçi <eri@pfsense.org>2009-02-15 21:26:04 +0000
commiteff29d62c50803fe5eaf3b3d9089ac428c8811ad (patch)
tree7ec06c103e72b5563a4dc85a3046c6ddbc59f36c
parentdaa20efd1e7db8e53bc86d4343048e53cc6a37fb (diff)
downloadpfsense-eff29d62c50803fe5eaf3b3d9089ac428c8811ad.zip
pfsense-eff29d62c50803fe5eaf3b3d9089ac428c8811ad.tar.gz
L2TP improvements.
-rw-r--r--etc/inc/globals.inc1
-rw-r--r--etc/inc/vpn.inc3
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 8c1fdcc..a2207bf 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -62,6 +62,7 @@ $g = array(
"pptp_subnet" => 28, /* this value can be overriden in pptp->pptp_subnet */
"n_pppoe_units" => 16, /* this value can be overriden in pppoe->n_pppoe_units */
"pppoe_subnet" => 28, /* this value can be overriden in pppoe->pppoe_subnet */
+ "l2tp_subnet" => 28, /* this value can be overriden in l2tp->l2tp_subnet */
"debug" => false,
"latest_config" => "5.5",
"nopkg_platforms" => array("cdrom"),
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index ce229db..232fdc9 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -1418,7 +1418,8 @@ EOD;
l2tp{$i}:
set link type l2tp
- set l2tp iface {$l2tp_interface}
+ set l2tp enable incoming
+ set l2tp disable originate
EOD;
}
OpenPOWER on IntegriCloud