Hi all,
I have a script set to run at startup that flushes all iptables. The flush works fine, and if I were to stop the script at that point I would get unrestricted internet access. However I added a few lines to it to try to get it to whitelist some websites by IP. After the flush commands I put:
ufw default deny
ufw enable
ufw allow from 74.52.238.59
ufw allow from 74.52.238.56
....and so on to list all the websites I want whitelisted. However this results in everything being blocked, whether I access them by domain or by navigating straight to the IP. What am I doing wrong???
Thanks!
Bookmarks