Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos.package
Commits
4a745c54
Commit
4a745c54
authored
Nov 21, 2019
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: comment the firewall script deployed by role re6stnet-install
parent
c8cabe7a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
playbook/roles/re6stnet-install/files/ip6tables
playbook/roles/re6stnet-install/files/ip6tables
+4
-0
No files found.
playbook/roles/re6stnet-install/files/ip6tables
View file @
4a745c54
#!/bin/bash
#!/bin/bash
# Re6st peers communicate with each other on port 326.
# Port 6696 is used by Babel (routing protocol).
# ( "$ man re6stnet" for more information)
if
[
-f
/sbin/ip6tables
]
;
then
if
[
-f
/sbin/ip6tables
]
;
then
if
[
0
-ne
`
ip6tables
-L
|
grep
-E
"(DROP|REJECT)"
|
wc
-l
`
]
;
then
if
[
0
-ne
`
ip6tables
-L
|
grep
-E
"(DROP|REJECT)"
|
wc
-l
`
]
;
then
ip6tables
-P
FORWARD ACCEPT
ip6tables
-P
FORWARD 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