#!/usr/local/bin/php = $subnet_start) && (ip2long($_POST['localip']) <= $subnet_end)) { $input_errors[] = "The specified server address lies in the remote subnet."; } if ($_POST['localip'] == $config['interfaces']['lan']['ipaddr']) { $input_errors[] = "The specified server address is equal to the LAN interface address."; } } } if (!$input_errors) { $pppoecfg['remoteip'] = $_POST['remoteip']; $pppoecfg['localip'] = $_POST['localip']; $pppoecfg['mode'] = $_POST['mode']; $pppoecfg['interface'] = $_POST['interface']; $pppoecfg['radius']['enable'] = $_POST['radiusenable'] ? true : false; $pppoecfg['radius']['accounting'] = $_POST['radacct_enable'] ? true : false; $pppoecfg['radius']['server'] = $_POST['radiusserver']; $pppoecfg['radius']['secret'] = $_POST['radiussecret']; write_config(); $retval = 0; config_lock(); $retval = vpn_pppoe_configure(); config_unlock(); $savemsg = get_std_save_message($retval); } } $pgtitle = "VPN: PPPoE"; include("head.inc"); ?>

  > Off
  > Enable PPPoE server
Interface
Max. concurrent connections
Server address
Enter the IP address the PPPoE server should use on its side for all clients.
Remote address range /
Specify the starting address for the client IP address subnet.
The PPPoE server will assign addresses, starting at the address entered above, to clients.
RADIUS > Use a RADIUS server for authentication
When set, all users will be authenticated using the RADIUS server specified below. The local user database will not be used.

> Enable RADIUS accounting
Sends accounting packets to the RADIUS server.
RADIUS server
Enter the IP address of the RADIUS server.
RADIUS shared secret
Enter the shared secret that will be used to authenticate to the RADIUS server.
 
  Note:
don't forget to add a firewall rule to permit traffic from PPPoE clients!