I know that iptables -F will clear all the chains, but is there a way only to clear the rules for INPUT, leaving FORWARD and OUTPUT rules intact?


reading the manual took 3 seconds and revealed 'iptables -F INPUT'.
Happy hunting!

  • Googling took 2. Thanks for your answer. – Onderbetaald Mar 19 at 10:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.