I'm trying to block a maximum of connection to my server as it needs to be accessible only from me and a website. Then I added that to iptables:
*filter -A INPUT -s my.own.ip/32 -j ACCEPT -A INPUT -s the.other.site.ip/32 -j ACCEPT -A INPUT -s 127.0.0.1/32 -j ACCEPT -P INPUT DROP COMMIT
But curl (through php) is no more able to access some urls. What's wrong with that rules ?