What would be the best way(read elegant) to access iptables from a php script? Since I assume the security context that a normal php script is running under won't allow me iptable access I'd also have to get around this. Say I wanted to run the command from php :
iptables -A INPUT -p tcp -j ACCEPT
Thanks in Advance!
Eric