mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-13 21:27:00 +02:00
Make the Invalid Drop rules uniform across sample files.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
0bf2753472
commit
41c7c8f923
@ -13,6 +13,6 @@
|
|||||||
#SECTION ESTABLISHED
|
#SECTION ESTABLISHED
|
||||||
#SECTION RELATED
|
#SECTION RELATED
|
||||||
SECTION NEW
|
SECTION NEW
|
||||||
|
Invalid(DROP) net $FW tcp
|
||||||
SSH(ACCEPT) net $FW
|
SSH(ACCEPT) net $FW
|
||||||
Ping(ACCEPT) net $FW
|
Ping(ACCEPT) net $FW
|
||||||
|
@ -18,6 +18,10 @@
|
|||||||
#SECTION RELATED
|
#SECTION RELATED
|
||||||
SECTION NEW
|
SECTION NEW
|
||||||
|
|
||||||
|
# Drop packets in the INVALID state
|
||||||
|
|
||||||
|
Invalid(DROP) net $FW tcp
|
||||||
|
|
||||||
# Drop Ping from the "bad" net zone.. and prevent your log from being flooded..
|
# Drop Ping from the "bad" net zone.. and prevent your log from being flooded..
|
||||||
|
|
||||||
Ping(DROP) net $FW
|
Ping(DROP) net $FW
|
||||||
|
@ -20,7 +20,7 @@ SECTION NEW
|
|||||||
|
|
||||||
# Don't allow connection pickup from the net
|
# Don't allow connection pickup from the net
|
||||||
#
|
#
|
||||||
Invalid(DROP) net all
|
Invalid(DROP) net all tcp
|
||||||
#
|
#
|
||||||
# Accept DNS connections from the firewall to the Internet
|
# Accept DNS connections from the firewall to the Internet
|
||||||
#
|
#
|
||||||
|
@ -20,7 +20,7 @@ SECTION NEW
|
|||||||
|
|
||||||
# Don't allow connection pickup from the net
|
# Don't allow connection pickup from the net
|
||||||
#
|
#
|
||||||
Invalid(DROP) net all
|
Invalid(DROP) net all tcp
|
||||||
#
|
#
|
||||||
# Accept DNS connections from the firewall to the network
|
# Accept DNS connections from the firewall to the network
|
||||||
#
|
#
|
||||||
|
@ -14,5 +14,6 @@
|
|||||||
#SECTION RELATED
|
#SECTION RELATED
|
||||||
SECTION NEW
|
SECTION NEW
|
||||||
|
|
||||||
|
Invalid(DROP) net $FW tcp
|
||||||
SSH(ACCEPT) net $FW
|
SSH(ACCEPT) net $FW
|
||||||
Ping(ACCEPT) net $FW
|
Ping(ACCEPT) net $FW
|
||||||
|
@ -18,6 +18,10 @@
|
|||||||
#SECTION RELATED
|
#SECTION RELATED
|
||||||
SECTION NEW
|
SECTION NEW
|
||||||
|
|
||||||
|
# Drop packets in the INVALID state
|
||||||
|
|
||||||
|
Invalid(DROP) net $FW tcp
|
||||||
|
|
||||||
# Drop Ping from the "bad" net zone.. and prevent your log from being flooded..
|
# Drop Ping from the "bad" net zone.. and prevent your log from being flooded..
|
||||||
|
|
||||||
Ping(DROP) net $FW
|
Ping(DROP) net $FW
|
||||||
|
@ -20,7 +20,7 @@ SECTION NEW
|
|||||||
|
|
||||||
# Don't allow connection pickup from the net
|
# Don't allow connection pickup from the net
|
||||||
#
|
#
|
||||||
Invalid(DROP) net all
|
Invalid(DROP) net all tcp
|
||||||
#
|
#
|
||||||
# Accept DNS connections from the firewall to the Internet
|
# Accept DNS connections from the firewall to the Internet
|
||||||
#
|
#
|
||||||
|
@ -20,7 +20,7 @@ SECTION NEW
|
|||||||
|
|
||||||
# Don't allow connection pickup from the net
|
# Don't allow connection pickup from the net
|
||||||
#
|
#
|
||||||
Invalid(DROP) net all
|
Invalid(DROP) net all tcp
|
||||||
#
|
#
|
||||||
# Accept DNS connections from the firewall to the network
|
# Accept DNS connections from the firewall to the network
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user