Commit 4b215040 authored by Franco Fichtner's avatar Franco Fichtner

pptp: move to services

parent 6514a161
...@@ -249,6 +249,12 @@ ...@@ -249,6 +249,12 @@
<PPPoEServer VisibleName="PPPoE Server" url="/vpn_pppoe.php"> <PPPoEServer VisibleName="PPPoE Server" url="/vpn_pppoe.php">
<PPPoeServerEdit url="/vpn_pppoe_edit.php"/> <PPPoeServerEdit url="/vpn_pppoe_edit.php"/>
</PPPoEServer> </PPPoEServer>
<PPTP cssClass="fa fa-unlock">
<Settings url="/vpn_pptp.php"/>
<Users url="/vpn_pptp_users.php">
<Edit url="/vpn_pptp_users_edit.php*"/>
</Users>
</PPTP>
<Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt"> <Proxy VisibleName="Proxy Server" cssClass="fa fa-bolt">
<Administration url="/ui/proxy/"/> <Administration url="/ui/proxy/"/>
<Log VisibleName="Log File" url="/diag_logs_proxy.php?type=cache"> <Log VisibleName="Log File" url="/diag_logs_proxy.php?type=cache">
...@@ -311,12 +317,6 @@ ...@@ -311,12 +317,6 @@
</Server> </Server>
<Status VisibleName="Connection Status" url="/status_openvpn.php"/> <Status VisibleName="Connection Status" url="/status_openvpn.php"/>
</OpenVPN> </OpenVPN>
<PPTP cssClass="fa fa-road">
<Settings url="/vpn_pptp.php"/>
<Users url="/vpn_pptp_users.php">
<Edit url="/vpn_pptp_users_edit.php*"/>
</Users>
</PPTP>
</VPN> </VPN>
<Help order="6" cssClass="glyphicon glyphicon-question-sign"> <Help order="6" cssClass="glyphicon glyphicon-question-sign">
<AboutThisPage VisibleName="About this Page" url="/help.php" IsExternal="Y"/> <AboutThisPage VisibleName="About this Page" url="/help.php" IsExternal="Y"/>
......
...@@ -196,7 +196,7 @@ if ($_POST) { ...@@ -196,7 +196,7 @@ if ($_POST) {
} }
} }
$pgtitle = array(gettext('VPN'), gettext('PPTP'), gettext('Settings')); $pgtitle = array(gettext('Services'), gettext('PPTP'), gettext('Settings'));
include("head.inc"); include("head.inc");
?> ?>
...@@ -308,7 +308,15 @@ function enable_change(enable_over) { ...@@ -308,7 +308,15 @@ function enable_change(enable_over) {
<?php if (isset($savemsg)) { <?php if (isset($savemsg)) {
print_info_box($savemsg); print_info_box($savemsg);
} ?> } ?>
<?php print_info_box(gettext("PPTP is no longer considered a secure VPN technology because it relies upon MS-CHAPv2 which has been compromised. If you continue to use PPTP be aware that intercepted traffic can be decrypted by a third party, so it should be considered unencrypted. We advise migrating to another VPN type such as OpenVPN or IPsec.<br /><br /><a href=\"https://isc.sans.edu/diary/End+of+Days+for+MS-CHAPv2/13807\">Read More</a>")); ?> <?php print_info_box(
gettext(
'PPTP is not considered a VPN technology, because it relies upon the ' .
'compromised MS-CHAPv2 protocol. If you choose to use PPTP, be aware ' .
'that your traffic can be decrypted by virtually any third party. ' .
'It should be considered an unencrypted tunneling protocol.'
) . ' <a href="https://isc.sans.edu/diary/End+of+Days+for+MS-CHAPv2/13807">' .
gettext('Read more') . '</a>.'
); ?>
<section class="col-xs-12"> <section class="col-xs-12">
......
...@@ -60,7 +60,7 @@ if ($_GET['act'] == "del") { ...@@ -60,7 +60,7 @@ if ($_GET['act'] == "del") {
} }
} }
$pgtitle = array(gettext('VPN'), gettext('PPTP'), gettext('Users')); $pgtitle = array(gettext('Services'), gettext('PPTP'), gettext('Users'));
include("head.inc"); include("head.inc");
$main_buttons = array( $main_buttons = array(
......
...@@ -134,7 +134,7 @@ if ($_POST) { ...@@ -134,7 +134,7 @@ if ($_POST) {
} }
} }
$pgtitle = array(gettext('VPN'), gettext('PPTP'), gettext('Edit User')); $pgtitle = array(gettext('Services'), gettext('PPTP'), gettext('Edit User'));
include("head.inc"); include("head.inc");
?> ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment