title: freeradius server on cloud
body: <p>I am using free radius server locally on Ubuntu machine , and my system working fine . 
  I want to allow my system to run from cloud to start sell it , but I don’t know how to make my free radius working on cloud . clients don’t have public ip address , I searched many times in the internet and found many cloud Radius server , they using NAS-ID attribute , but I don’t know how free radius and NAS can making connection and authentication through NAS-ID .
  When I running my system locally I  insert NAS information into nas table, like nas IP and secret ,but that because NAS and free radius server running at same network so they can connect together , so how can I do that  for cloud ?</p>
  
  <p>when I tried one cloud AAA in the internet and tried to insert my NAS , system generated script and asked me to run it on my Mikrotik nas , I understand every things in the script ,but still not understand how free radius can connect to the NAS .
  the commands is just to set the IP of free radius server which is </p>
  
  <pre><code>195.228.75.174   
  </code></pre>
  
  <p>and some other configuration , Mikrotik can access to the radius because it is public IP on the cloud , but when radius reply to the NAS how can connect to it ,Mikrotik does not has public IP . I am very confused to understand this idea .</p>