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
Boxiang Sun
slapos.package
Commits
82fe1b17
Commit
82fe1b17
authored
Dec 29, 2021
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Fix missing iptables reset
parent
9011f6a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
playbook/roles/olimex-board/templates/iptables.j2
playbook/roles/olimex-board/templates/iptables.j2
+1
-0
No files found.
playbook/roles/olimex-board/templates/iptables.j2
View file @
82fe1b17
...
@@ -7,6 +7,7 @@ echo "Update firewall. Close all ports except SSH ports."
...
@@ -7,6 +7,7 @@ echo "Update firewall. Close all ports except SSH ports."
# Remove all existing rules
# Remove all existing rules
iptables
-F
iptables
-F
ip6tables
-F
# Allow SSH access
# Allow SSH access
iptables
-A
INPUT
-p
tcp
--dport
22
-j
ACCEPT
iptables
-A
INPUT
-p
tcp
--dport
22
-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