From 84addf561bc35a8c757c21f37951bdda521a3264 Mon Sep 17 00:00:00 2001 From: trimstray Date: Tue, 2 Oct 2018 08:35:32 +0200 Subject: [PATCH] #2 - removed bad rules - signed-off-by: trimstray --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index b4e3d16..6ebaa76 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ Found on the Internet - All in One List. * [Allow All Incoming POP3](#allow-all-incoming-pop3) * [Allow All Incoming POP3S](#allow-all-incoming-pop3s) * [Drop Private Network Address On Public Interface](#drop-private-network-address-on-public-interface) - * [Only Block Incoming Traffic](#only-block-incoming-traffic) * [Drop All Outgoing to Facebook Networks](#drop-all-outgoing-to-facebook-networks) * [Log and Drop Packets](#log-and-drop-packets) * [Log and Drop Packets with Limited Number of Log Entries](#log-and-drop-packets-with-limited-number-of-log-entries) @@ -421,15 +420,6 @@ iptables -A INPUT -i eth1 -s 192.168.0.0/24 -j DROP iptables -A INPUT -i eth1 -s 10.0.0.0/8 -j DROP ``` -#### Only Block Incoming Traffic - -```bash -iptables -P INPUT DROP -iptables -P FORWARD DROP -iptables -P OUTPUT ACCEPT -iptables -A INPUT -m state --state NEW,ESTABLISHED -j ACCEPT -``` - #### Drop All Outgoing to Facebook Networks Get Facebook AS: