How to reset established connection?
Hello everybody who read this message.
I have RH linux box with what I shares Internet. When I browsing Internet one of my users start downloading from Internet. I connect to my router and disable all ports apart 80 to that user ip, but he can download until he must make new connection. How I can reset this established connection? |
If he is downloading using http and you don;t block port 80 then the connection will continue.
|
No problem is not there...
I can block his ip with iptables and every thing is ok he can't start new dowload, but established still downloading. To reset connection I use adsl_stop and adsl_start, but I think what it must be much more beter way to reset connection.... |
You can probably use an iptables rule relating to his IP with:
-m state --state ESTABLISHED,RELATED -j DROP |
Yes it works perfectly THANKS FOR YOUR ANSWERS!
|
All times are GMT -5. The time now is 11:02 PM. |