Article 539ZJ Firewall rules - iptables

Firewall rules - iptables

by
LinusGates
from LinuxQuestions.org on (#539ZJ)
Hi all,

I want to drop all tcp incoming SYN packets.

I ran the code below and it seems to work:

Quote:
iptables -A INPUT -p tcp --syn -j DROP
Is this the correct syntax? Or is this just dropping anything on tcp?

Thank youlatest?d=yIl2AUoC8zA latest?i=jJ1F2Pyr9SI:5M0Z4Eub6bo:F7zBnMy latest?i=jJ1F2Pyr9SI:5M0Z4Eub6bo:V_sGLiP latest?d=qj6IDK7rITs latest?i=jJ1F2Pyr9SI:5M0Z4Eub6bo:gIN9vFwjJ1F2Pyr9SI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments