How to whitelist ip’s on a Minecraft server

I will be creating a whitelist for FTB lite 3. There are other ways to whitelist than the way I am doing it.
Resource for other ways: Minecraft.fandom external link reference

I will be editing the whitelist.json file, and you can find a reference to how to format it here: Minecraft.fandom external link reference

Step 1: Edit the server.properties file to enable whitelist

Example server.properties file

nano server.properties
white-list=true

Step 2: Edit the whitelist.json file to allow the player(s) you want

nano whitelist.json
[
  {
   "uuid": "167e26b3-adbv-45j1-c674-9126445e69e59",
   "name": "username"
  } 
]