0

I just run this command

 iptables -A INPUT -s 1.1.1.1 -p TCP -j DROP

Do i have to reset a service or something like that? It does not seems to work because when i use netstat -antp i can still see the ip i just dropped

Gianni Di Falco
  • 165
  • 1
  • 10

1 Answers1

1

The TCP connection may still be kept open until the timeouts (up to 5 minutes if I remember correctly), but the traffic itself should be dropped (eg. there should be no data flowing).

Joel C
  • 2,958
  • 2
  • 15
  • 18