Skip to content

Instantly share code, notes, and snippets.

@bessangel bessangel/rules
Last active Oct 13, 2017

Embed
What would you like to do?
shorewall zimbra
#
# Shorewall version 4 - Rules File
#
# For information on the settings in this file, type "man shorewall-rules"
#
# The manpage is also online at
# http://www.shorewall.net/manpages/shorewall-rules.html
#
######################################################################################################################################################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME HEADERS SWITCH HELPER
# PORT PORT(S) DEST LIMIT GROUP
?SECTION ALL
?SECTION ESTABLISHED
?SECTION RELATED
?SECTION INVALID
?SECTION UNTRACKED
?SECTION NEW
Invalid(DROP) net $FW tcp
SSH(ACCEPT) net $FW
Ping(ACCEPT) net $FW
ACCEPT net $FW tcp 2002
ACCEPT net $FW tcp 21,25,80,110,443,465,587,993,995,8443
# for zimbra system tasks
DNAT $FW $FW:127.0.0.1:2002 tcp 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.