Changes

m
no edit summary
Line 47: Line 47:  
----
 
----
   −
Before we create a user and password, let's use MD5 encryption instead of a clear text password. We will generate MD5 for '''demo123''' password using the following command:
+
Before we create a user and password, let us use MD5 encryption instead of a clear text password. We will generate MD5 encryption for '''demo123''' password using the following command:
 
<pre>
 
<pre>
 
echo -n demo123| md5sum | awk '{print $1}'
 
echo -n demo123| md5sum | awk '{print $1}'
Line 62: Line 62:  
         Reply-Message := "%{User-Name} authenticated successfully"
 
         Reply-Message := "%{User-Name} authenticated successfully"
 
</pre>
 
</pre>
 +
 +
Once these changes are made, start the freeradius service:
 +
<pre>
 +
sudo /etc/init.d/freeradius start
 +
</pre>
 +
 +
==Preparing RUT1==
 +
 +
Main requirements for RUT1:
 +
*Static Public IP address
 +
*Static lease set for Ubuntu server
 +
*Ports 1812 and 1813 forwarding to local Ubuntu server
 +
 +
Firstly, let us set a static lease for the Ubuntu machine running Radius server:
 +
* Login to WebUI and navigate to Network → Interfaces → LAN and add a static lease to the MAC address of Ubuntu machine.
 +
* Navigate to Network → Firewall → Port Forwards and add two new rules to forward 1812 and 1813 ports from WAN to Radius server on the same ports.
 +
 +
Radius server is now set with basic configuration and ready to be tested with RUT2 to authenticate Hotspot users.
 +
 +
==Preparing RUT2==

Navigation menu