snsinfu / reverse-tunnel

Reverse tunnel TCP and UDP
MIT License
178 stars 38 forks source link

Ports not reachable/closed #12

Closed DeerMaximum closed 3 years ago

DeerMaximum commented 3 years ago

Hi @snsinfu,

I have a problem. On the server the port(60000) from the internet are not reachable. When I scan the port on the server via nmap it is open. However, from my computer it is closed. I have already tried to turn off the firewall, but it did nothing. Has this error occurred before or am I asking in the wrong place?

netstat nmapClient nmapServer ServerLog clientLog

snsinfu commented 3 years ago

Looks like the port is blocked by a firewall.

Is your server hosted on a cloud? If so, there may be another (external) firewall set up by the cloud provider. IIRC Amazon Lightsail has one that blocks almost all ports by default. So, make sure the required ports are open also in this kind of firewall.

DeerMaximum commented 3 years ago

Thanks for the tip with the firewall. It turns out that my hoster has an external firewall. Now everything works. Thanks for this great project.