= $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."; } } } else { /* turning pppoe off, lets dump any custom rules */ $rules = &$config['filter']['rule']; for($x=0; $x

  > Off
  > Enable PPPoE server
Interface
Subnet netmask
Hint: 24 is 255.255.255.0
No. PPPOE users
Hint: 10 is TEN pppoe clients
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.
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 Primary
Enter the IP address of the RADIUS server.
RADIUS primary shared secret
Enter the shared secret that will be used to authenticate to the RADIUS server.
> Use Backup Radius Server
When set, all users will be authenticated using the RADIUS server specified below. The local user database will not be used.
RADIUS server Secondary
Enter the IP address of the RADIUS server.
RADIUS secondary shared secret
Enter the shared secret that will be used to authenticate to the RADIUS server.
NAS IP ADDRESS
radius server NAS ip Address
Radius Accounting Update
Radius accounting update period in seconds
RADIUS issued IP's >
Issue IP Addresses via RADIUS server.
 
  Note:
don't forget to add a firewall rule to permit traffic from PPPoE clients!