mirror of
https://github.com/twisterarmy/twister-cli-installer.git
synced 2025-01-01 19:45:35 +00:00
add tcp/udp 29333 port into the firewall rules
This commit is contained in:
parent
4061f10839
commit
39f1a94d1b
@ -90,11 +90,12 @@ function install() {
|
|||||||
sudo ufw status
|
sudo ufw status
|
||||||
|
|
||||||
until [[ $REMOTE =~ (y|n) ]]; do
|
until [[ $REMOTE =~ (y|n) ]]; do
|
||||||
read -rp "Is this remote node (28332, 28333 and 22 ports will be allowed in the iptables rules)? [y/n]: " -e REMOTE
|
read -rp "Is this remote node (28332, 28333, 29333 and 22 ports will be allowed in the iptables rules)? [y/n]: " -e REMOTE
|
||||||
done
|
done
|
||||||
if [[ $REMOTE == "y" ]]; then
|
if [[ $REMOTE == "y" ]]; then
|
||||||
sudo ufw allow 28332
|
sudo ufw allow 28332
|
||||||
sudo ufw allow 28333
|
sudo ufw allow 28333
|
||||||
|
sudo ufw allow 29333
|
||||||
sudo ufw allow 22
|
sudo ufw allow 22
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user