From dcff4fad37857a4adb00fe46e58d44afabfd1b9e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 1 Sep 2013 12:20:44 -0700 Subject: [PATCH] Add sample action to shorewall.conf manpage. Signed-off-by: Tom Eastep --- Shorewall/manpages/shorewall.conf.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Shorewall/manpages/shorewall.conf.xml b/Shorewall/manpages/shorewall.conf.xml index b7fd8ff11..f683be26d 100644 --- a/Shorewall/manpages/shorewall.conf.xml +++ b/Shorewall/manpages/shorewall.conf.xml @@ -2135,6 +2135,26 @@ LOG:info:,bar net fw it's name in this option. The nolog option will automatically be assumed for the specified action. + + The following action implements the standard behavior: + + ?format 2 +#TARGET SOURCE DEST PROTO +Broadcast(DROP) - - - +DROP - - 2 +INLINE - - 6 ; -j REJECT --reject-with tcp-reset +?if __ENHANCED_REJECT +INLINE - - 17 ; -j REJECT +?if __IPV4 +INLINE - - 1 ; -j REJECT --reject-with icmp-host-unreachable +INLINE - - - ; -j REJECT --reject-with icmp-host-prohibited +?else +INLINE - - 58 ; -j REJECT --reject-with icmp6-addr-unreachable +INLINE - - - ; -j REJECT --reject-with icmp6-adm-prohibited +?endif +?else +INLINE - - - ; -j REJECT +?endif