Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
3e311109
Commit
3e311109
authored
Mar 15, 2018
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postfix: add firewall rule
Signed-off-by:
Mattia Rizzolo
<
mapreri@ubuntu.com
>
parent
7c868b0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
roles/postfix/tasks/main.yml
roles/postfix/tasks/main.yml
+7
-0
roles/postfix/templates/firewall.sh
roles/postfix/templates/firewall.sh
+5
-0
No files found.
roles/postfix/tasks/main.yml
View file @
3e311109
...
...
@@ -44,3 +44,10 @@
mode
:
0755
owner
:
root
group
:
ssl-cert
-
name
:
install the firewall rule
template
:
src
:
firewall.sh
dest
:
/etc/firewall/postfix.sh
mode
:
0744
notify
:
common.reload-firewall
roles/postfix/templates/firewall.sh
0 → 100644
View file @
3e311109
#
# {{ ansible_managed }}
#
cmd
-A
public_input_tcp
-p
tcp
--dport
25
-j
ACCEPT
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment