Last active
October 13, 2017 13:43
-
-
Save bessangel/7312dbdc081d201bd9e8459d9f1c4e08 to your computer and use it in GitHub Desktop.
shorewall zimbra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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