I tried...
sudo ufw enable sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow OpenSSH sudo ufw allow 'Nginx Full' sudo ufw allow 'Nginx HTTP' sudo ufw allow 'Nginx HTTPS' sudo ufw allow 80 sudo ufw allow 443 sudo ufw allow 1234 (My localtunnel port)
Everything works well except the client host not open on the browser.
And every time I see 2nd node using different port number. In this case TCP *:33063 (LISTEN)
sudo lsof -i -P -n | grep LISTEN
sshd 738 root 3u IPv4 21867 0t0 TCP *:22 (LISTEN) sshd 738 root 4u IPv6 21878 0t0 TCP *:22 (LISTEN) nginx 742 root 5u IPv4 21844 0t0 TCP *:80 (LISTEN) nginx 742 root 6u IPv6 21845 0t0 TCP *:80 (LISTEN) nginx 742 root 7u IPv4 21846 0t0 TCP *:443 (LISTEN) nginx 742 root 8u IPv6 21847 0t0 TCP *:443 (LISTEN) nginx 743 www-data 5u IPv4 21844 0t0 TCP *:80 (LISTEN) nginx 743 www-data 6u IPv6 21845 0t0 TCP *:80 (LISTEN) nginx 743 www-data 7u IPv4 21846 0t0 TCP *:443 (LISTEN) nginx 743 www-data 8u IPv6 21847 0t0 TCP *:443 (LISTEN) node 5296 root 20u IPv4 53992 0t0 TCP *:1234 (LISTEN) node 5296 root 22u IPv6 53997 0t0 TCP *:33063 (LISTEN)
No dependencies set.
The note is not visible to the blocked user.
I tried...
sudo ufw enable
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow OpenSSH
sudo ufw allow 'Nginx Full'
sudo ufw allow 'Nginx HTTP'
sudo ufw allow 'Nginx HTTPS'
sudo ufw allow 80
sudo ufw allow 443
sudo ufw allow 1234 (My localtunnel port)
Everything works well except the client host not open on the browser.
And every time I see 2nd node using different port number.
In this case TCP *:33063 (LISTEN)
sudo lsof -i -P -n | grep LISTEN