Currently I am using ufw to manually add the ip rules by typing
sudo ufw allow from (my ip address)
I have retrieve the ip address of my client ip by doing some script calling from my database and save it to a .txt file.
this is the value i get
ipaddress
10.1.100.90
10.1.100.91
Is it possible to read the ip address in the .txt file and save it to the rule instead of typing manually?