From 0e642c78b469f0de3fe9ab4479389d86d0a2bfd7 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 2 Sep 2010 17:26:33 +0000 Subject: Make possible to run multiple instances of pppoe server. Not yet switched to mpd4. --- usr/local/www/vpn_pppoe.php | 526 +++++++++----------------------------------- 1 file changed, 103 insertions(+), 423 deletions(-) (limited to 'usr/local/www/vpn_pppoe.php') diff --git a/usr/local/www/vpn_pppoe.php b/usr/local/www/vpn_pppoe.php index 46e8c3e..8052466 100755 --- a/usr/local/www/vpn_pppoe.php +++ b/usr/local/www/vpn_pppoe.php @@ -1,21 +1,18 @@ = $subnet_start) && - (ip2ulong($_POST['localip']) <= $subnet_end)) { - $input_errors[] = gettext("The specified server address lies in the remote subnet."); - } - if ($_POST['localip'] == get_interface_ip("lan")) { - $input_errors[] = gettext("The specified server address is equal to the LAN interface address."); - } - } - } else { - /* turning pppoe off, lets dump any custom rules */ - $rules = &$config['filter']['rule']; - for($x=0; $x - -
- + - - - - - +

+" . gettext("You must apply the changes in order for them to take effect."));?> + + +

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - > -
  - > -
- -
- -
- -
: 24 255.255.255.0 -
- -
-
- -
- .
- -
- .
-
- -
- -
-
-
- > -
-
.
-
- > -
-
-
.
- > -
-
- -

-
- -
-
- > -
.
- - - -

-
- -
.
- - - -

-
- -
- .
  - " onclick="enable_change(true)"> -
 :
-
!
-
-
+ + + + + + + + + + + + + + + + + + + +
+ + + + + +
 ">
+
+ + + + + + +   + + + + + + +
">')">">
+
+ + + + + + +
 ">
+
- -- cgit v1.1