Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
settingsd
Commits
8ee9666b
Commit
8ee9666b
authored
May 30, 2019
by
Дмитрий Никулин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to nftables template
parent
764f523b
Pipeline
#5491
passed with stage
in 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
fmod_network.py
plugins/functions/fmod_network.py
+2
-1
No files found.
plugins/functions/fmod_network.py
View file @
8ee9666b
...
...
@@ -29,7 +29,7 @@ NFTABLES_CONFIG_FILE = '/etc/nftables.conf'
NFTABLES_CONFIG_TEMPLATE
=
Template
(
'''#!/usr/sbin/nft -f
flush ruleset
table i
p
filter {
table i
net
filter {
chain input {
type filter hook input priority 0;
{
%
for name in interfaces -
%
}
...
...
@@ -47,6 +47,7 @@ table ip filter {
}
{
%-
endfor
%
}
}
'''
)
...
...
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