This is what I have used as reference: https://unix.stackexchange.com/a/145933So if I do:iptables -I INPUT -p tcp -s MY IP --dport 21 -j ACCEPTiptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 21 -j DROPI understand that only MY IP will be able to connect to port 21. But is there a way to add another accepted IP to that?I've tried doing:iptables -I INPUT -p tcp -s MY OTHER IP --dport 21 -j ACCEPTBut it's still blocked, but I assume that's because the DROP is before. Could I append without dropping the DROP rule?
Add additional allowed IPs
iptables