mirror of
https://github.com/twisterarmy/twister-cli-installer.git
synced 2025-03-12 13:21:15 +00:00
add 28333 port to the 'remote node' option to support the twister network
This commit is contained in:
parent
825c13dca5
commit
c8f3dfccbe
@ -135,10 +135,11 @@ 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 and 22 ports will be allowed in the iptables rules)? [y/n]: " -e REMOTE
|
read -rp "Is this remote node (28332, 28333 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 22
|
sudo ufw allow 22
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user