I need to allow access to port 11211 from specific IP to existing rules (In a script that runs after the server loads)
The line I want to add:
iptables -A INPUT -p tcp -s xx.xx.xx.xx --dport 11211 -j ACCEPT
But the iptables already contains a drop line for this port so my line will append after and will never work. The drop line:
DROP tcp -- anywhere anywhere tcp dpt:11211
How can I do it?