Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
salt-state
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FFFFM
salt-state
Commits
9ca1953e
Commit
9ca1953e
authored
5 years ago
by
skorpy
Browse files
Options
Downloads
Patches
Plain Diff
Harden Salt Master Firewall
parent
2c5bc1b1
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#24879
passed
5 years ago
Stage: lint
Stage: highstate
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
salt/files/ferm.conf
+11
-7
11 additions, 7 deletions
salt/files/ferm.conf
with
11 additions
and
7 deletions
salt/files/ferm.conf
+
11
−
7
View file @
9ca1953e
domain
(
ip
ip6
) {
@
def
$
ownASN6
= (
2
a06
:
8187
:
fb00
::/
40
);
@
def
$
saltmaster
= (
2
a01
:
4
f8
:
192
:
11
d2
::
99
);
@
def
$
ownExternal6
= (
2001
:
bc8
:
182
c
:
2321
::
1
);
domain
(
ip6
) {
table
filter
{
chain
INPUT
{
# minions
mod
state
state
NEW
proto
tcp
dport
(
4505
4506
)
ACCEPT
;
# local (salt-cli to master)
interface
lo
proto
tcp
dport
(
4505
4506
)
ACCEPT
;
proto
tcp
mod
multiport
destination
-
ports
(
4505
4506
) {
saddr
$
own6
ACCEPT
;
saddr
$
saltmaster
ACCEPT
;
saddr
$
externalFFFFM
ACCEPT
;
DROP
;
};
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment