IPTABLES - Webserver(Apache) to MySQL config


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. -A INPUT -p tcp -s webserveriphere --sport 1024:65535 -d mysqliphere --dport 3306 -m state --state NEW,ESTABLISHED -j ACCEPT
  2. -A OUTPUT -p tcp -s mysqliphere --sport 3306 -d webserveriphere --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.