Skip to main content
tags
Link
xenoterracide
  • 59.7k
  • 77
  • 187
  • 252
Source Link
Chankey Pathak
  • 1.8k
  • 8
  • 28
  • 35

What is sport and dport?

I want to stop internet on my system using iptables so what should I do?

iptables -A INPUT -p tcp --sport 80 -j DROP

or

iptables -A INPUT -p tcp --dport 80 -j DROP ?