diff options
-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; } |