An api to change iptables rules
Latest commit dc5fe27 Apr 22, 2013 learningoutcomes changed readme for better reading

if running on local machine please install ssh and openssh-server using package manager also add env host and env password in api/views file for sudo to work


curl -X POST -d "rule=-A INPUT -s -j ACCEPT" -u user:password

curl -X POST -d "rule=-L" -u user:password