1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

minetest add port and include in 9 addons

This commit is contained in:
Tim Moody 2019-02-06 12:00:01 -05:00
parent c8227ef3c4
commit 35ab675f2d
2 changed files with 8 additions and 0 deletions

View file

@ -15,6 +15,12 @@
when: calibreweb_install
tags: calibre-web
- name: MINETEST
include_role:
name: minetest
when: minetest_install
tags: minetest
- name: Recording STAGE 9 HAS COMPLETED ====================
lineinfile:
dest: "{{ iiab_env_file }}"

View file

@ -65,6 +65,7 @@ transmission_peer_port={{ transmission_peer_port }}
sugarizer_port={{ sugarizer_port }}
nodered_port={{ nodered_port }}
mosquitto_port={{ mosquitto_port }}
minetest_port={{ minetest_port }}
block_DNS={{ block_DNS }}
echo "LAN is $lan and WAN is $wan"
@ -104,6 +105,7 @@ if [ "$services_externally_visible" == "True" ]; then
$IPTABLES -A INPUT -p tcp --dport $mosquitto_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $transmission_http_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $transmission_peer_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p udp --dport $minetest_port -m state --state NEW -i $wan -j ACCEPT
fi
if [ "$iiab_gateway_enabled" == "True" ]; then