trimstray / iptables-essentials

Iptables Essentials: Common Firewall Rules and Commands.
MIT License
1.47k stars 267 forks source link

Bad / incorrect example: "Only Block Incoming Traffic" #2

Closed otheus closed 6 years ago

otheus commented 6 years ago

The title "Only Block Incoming Traffic" and provided code make no sense together. The code clearly ACCEPTS all incoming traffic. All outbound traffic is allowed as well.

https://github.com/trimstray/iptables-essentials#only-block-incoming-traffic

I'd offer an alternative, but it's not clear what the author had intended.

trimstray commented 6 years ago

Thanks a lot, yes you're right. Do you have any ideas what to improve in this repository? Could you add a pull request for this issue? :)