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
Xiaowu Zhang
slapos.package
Commits
826f73fc
Commit
826f73fc
authored
Dec 30, 2021
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Fix firewall
parent
15e642b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
playbook/wendelin-olimex-iot-gateway.yml
playbook/wendelin-olimex-iot-gateway.yml
+2
-2
playbook/wendelin-olimex-sensor.yml
playbook/wendelin-olimex-sensor.yml
+2
-3
No files found.
playbook/wendelin-olimex-iot-gateway.yml
View file @
826f73fc
...
...
@@ -34,8 +34,8 @@
ip6tables -A INPUT -p tcp --dport $LISTEN_SENSOR_PORT -j ACCEPT
ip6tables -A INPUT -p udp --dport $LISTEN_SENSOR_PORT -j ACCEPT
ip6tables -A
INPUT -m state --state ESTABLISHED,RELATED
-j ACCEPT
ip6tables -A OUTPUT -
m state --state ESTABLISHED,RELATED
-j ACCEPT
ip6tables -A
OUTPUT -p tcp --sport $LISTEN_SENSOR_PORT
-j ACCEPT
ip6tables -A OUTPUT -
p udp --sport $LISTEN_SENSOR_PORT
-j ACCEPT
roles
:
-
role
:
olimex-board
playbook/wendelin-olimex-sensor.yml
View file @
826f73fc
...
...
@@ -11,14 +11,13 @@
-
iptables_rules
:
|
# To send data to IoT-Gateway
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
LISTEN_SENSOR_PORT=24224
ip6tables -A OUTPUT -p tcp --dport $LISTEN_SENSOR_PORT -j ACCEPT
ip6tables -A OUTPUT -p udp --dport $LISTEN_SENSOR_PORT -j ACCEPT
ip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
ip6tables -A INPUT -p tcp --sport $LISTEN_SENSOR_PORT -j ACCEPT
ip6tables -A INPUT -p udp --sport $LISTEN_SENSOR_PORT -j ACCEPT
roles
:
-
role
:
olimex-sensor
...
...
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