Click to See Complete Forum and Search --> : blocking p2p not working
CdWhistler
09-22-2002, 01:34 PM
I need help trying to block kazaa. I know it runs on port 1214 and I was able to block it before but now it just wont work. Im using ipchains btw. If I do /sbin/ipchains -A input -p tcp -s 0/0 1214 -j DENY it dosen't block it. After that I tried to block it on with source and destination port 1214 but that still didnt work. I insterted it at the end of my firewall list and at the beginning. I also tried blocking on the output chain but no good. Does it matter where on the chain the rule is put?
vttimwhite
09-22-2002, 02:36 PM
Originally posted by CdWhistler
I need help trying to block kazaa. I know it runs on port 1214 and I was able to block it before but now it just wont work. Im using ipchains btw. If I do /sbin/ipchains -A input -p tcp -s 0/0 1214 -j DENY it dosen't block it. After that I tried to block it on with source and destination port 1214 but that still didnt work. I insterted it at the end of my firewall list and at the beginning. I also tried blocking on the output chain but no good. Does it matter where on the chain the rule is put?
/sbin/ipchains -A input -p tcp -s 0/0 1214 -j DENY
Isn't quite the right syntax. Try:
/sbin/ipchains -A input -p tcp -s 0/0 --dport 1214 -j DENY
I don't know if Kazaa uses TCP or not. If it does, you should be all set.