= $subnet_start) && (ip2ulong($_POST['localip']) <= $subnet_end)) { $input_errors[] = "The specified server address lies in the remote subnet."; } if ($_POST['localip'] == get_interface_ip("lan")) { $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.
DNS servers

If entered they will be given to all PPPoE clients, else LAN DNS and one WAN DNS will go to all 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.
> Use Backup Radius Server
When set, if primary server fails all requests will be sent via backup server
NAS IP Address
radius server NAS ip Address
RADIUS Accounting Update
Radius accounting update period in seconds
RADIUS issued IPs >
Issue IP Addresses via RADIUS server.
RADIUS server Primary
Enter the IP address and port of the RADIUS server. Format ip auth_port acct_port

standard port 1812 and 1813 accounting
RADIUS primary shared secret
Enter the shared secret that will be used to authenticate to the RADIUS server.
RADIUS server Secondary
Enter the IP address and port of the BACKUP RADIUS server. Format ip auth_port acct_port

standard port 1812 and 1813 accounting
RADIUS secondary 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!