i have a web app and i want to filter the access like this: block incoming connection to http://my-ip:8080/ access incoming/outgoing to http://my-ip:8080/the-rest-of-the-address actually i want to block the access to my web server but not the application this does not work and drop it all.
sbin/iptables -I INPUT -p tcp –dport 80 -m string –string “Host: http://my-ip:8080/” –algo kmp -j DROP
can anyone help me?