When we click on the disconnect button, the customer should be removed from the online list and reconnect with a new session, which means that the EdgeRouter accepted the incoming packet from the Splynx Radius server. In Splynx, we can see if the customer is online and get their statistics: With the show pppoe-server command we can see how many users are connected to the PPPoE server: Now we can connect the PPPoE customer to the EdgeRouter and check that everything works as expected.
Connect PPPoE customer and check that everything is working fine You can add additional attributes to the configuration of the NAS Type under Config -> Networking -> Radius.īy default, we support radius-rate-limit attributes to setup speeds of PPPoE tunnels.Ĥ. Simply add a router to Splynx as usual in Networking -> Routers -> Add and choose the NAS Type as Ubiquiti: Add EdgeRouter to Splynx and set up settings in Splynx To run a debug, to check whether packets are received or not, use the pppoe-radius-disconnect.log file: tail /var/log/pppoe-radius-disconnect.logīelow is an example of the output when a disconnect packet was received by EdgeOS:ģ.
To enable incoming packet processing, run the following command on the Edge router: sudo cp /opt/vyatta/etc/pppoe-server/start-pppoe-radius-disconnect /config/scripts/post-config.d/ In all these cases, the Splynx Radius server sends packets to the Edge Router. This is an important part when we need to change plans, disconnect customers or apply FUP rules. Configure EdgeRouter PPPoE incoming packets PAP and MSCCHAP can be enabled in the same way. Thereafter, press Escape button on your keyboard and type :wq Press "/" on your keyboard and type: refuse-chapĪnd then press 'i' on your keyboard and change "refuse-chap" to "require-chap". Vi /opt/vyatta/share/perl5/Vyatta/PPPoEServerConfig.pm To enable it, login to the EdgeRouter via SSH and run the following command: sudo su. The Radius configuration can also be done in a web browser:Įncryption on Edge Router tunnels are disabled by default. Set authentication radius-server 10.10.10.5 Then we will setup the PPPoE server with following mandatory settings: edit service pppoe-server In this case the ip address is: 10.0.1.166, configure it as the main IP of the EdgeRouter with the following command (in configure mode): set system ip override-hostname-ip 10.0.1.166 The second step is to define the IP address for communication between the Radius server and the EdgeRouter.
#UBIQUITI EDGE ROUTER CONFIGURATION UPGRADE#
The upgrade can be performed in CLI with the following commands: add system image. The version we will be operating with here is EdgeOS v1.8.5. The first step is to upgrade the system to at least version 1.5 or higher, because the support of Radius attributes was only added to EdgeOS starting from this version. Configure EdgeRouter PPPoE Server with Radius support
#UBIQUITI EDGE ROUTER CONFIGURATION INSTALL#