Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/nym-node-setup/network-tunnel-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ apply_port_allowlist() {
["GroupWise"]="1677"
["PPTP"]="1723"
["RTSPAlt"]="1755"
["Nym specific"]="1789"
["Nym specific"]="1790"
["MSNP"]="1863"
["NFS"]="2049"
["CPanel"]="2082-2083"
Expand All @@ -609,6 +611,7 @@ apply_port_allowlist() {
["AndroidMarket"]="5228"
["PostgreSQL"]="5432"
["MongoDBDefault"]="27017"
["Nym-node-api"]="8080"
["Electrum"]="8082"
["SimplifyMedia"]="8087-8088"
["Zcash"]="8232-8233"
Expand All @@ -617,6 +620,7 @@ apply_port_allowlist() {
["TeamSpeak"]="8767"
["MQTTS"]="8883"
["HTTPProxy"]="8888"
["Nym Specific"]="9000"
["TorORPort"]="9001"
["TorDirPort"]="9030"
["Tari"]="9053"
Expand All @@ -637,6 +641,7 @@ apply_port_allowlist() {
["ElectrumSSL"]="50002"
["MOSH"]="60000-61000"
["Mumble"]="64738"
["WireGuard"]="51822"
["Metadata"]="51830"
)

Expand Down
19 changes: 0 additions & 19 deletions scripts/nym-node-setup/nym-node-prereqs-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,3 @@ echo -e "\n* * * Installing needed prerequisities * * *"
apt update -y && apt --fix-broken install
apt upgrade
apt install apt ca-certificates jq curl wget ufw jq tmux pkg-config build-essential libssl-dev git ntp ntpdate neovim tree tmux tig nginx -y
apt install ufw --fix-missing

# enable & setup firewall
echo -e "\n* * * Setting up firewall using ufw * * * "
echo "Please enable the firewall in the next prompt for node proper routing."
echo
ufw enable
ufw allow 22/tcp # SSH - you're in control of these ports
ufw allow 80/tcp # HTTP
ufw allow 443/tcp # HTTPS
ufw allow 1789/tcp # Nym specific
ufw allow 1790/tcp # Nym specific
ufw allow 8080/tcp # Nym specific - nym-node-api
ufw allow 9000/tcp # Nym Specific - clients port
ufw allow 9001/tcp # Nym specific - wss port
ufw allow 51822/udp # WireGuard
ufw allow in on nymwg to any port 51830 proto tcp # bandwidth queries/topup - inside the tunnel
ufw reload && \
ufw status
Loading