diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-02-15 21:26:04 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-02-15 21:26:04 +0000 |
commit | eff29d62c50803fe5eaf3b3d9089ac428c8811ad (patch) | |
tree | 7ec06c103e72b5563a4dc85a3046c6ddbc59f36c | |
parent | daa20efd1e7db8e53bc86d4343048e53cc6a37fb (diff) | |
download | pfsense-eff29d62c50803fe5eaf3b3d9089ac428c8811ad.zip pfsense-eff29d62c50803fe5eaf3b3d9089ac428c8811ad.tar.gz |
L2TP improvements.
-rw-r--r-- | etc/inc/globals.inc | 1 | ||||
-rw-r--r-- | etc/inc/vpn.inc | 3 |
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; } |