Server Bug Fix: can not receive ssh connections from outside my ISP

Original Source Link

I have a ISP that provides me only the ports after 1024 so I forwarded the port 1665 to receive ssh connections. Using the WAN IP they provide me I can only get connections from users from the same ISP.
This looks like I am kinda “trapped” in a big LAN. In this case how can I receive ssh connections from outside this ISP?

Obs.: I unsuccessfully tried to use all the IPs given by

The big question is if you have a truly public IP assigned to you or are you behind your carrier’s NAT. If it’s the first, you should be able to connect to your router from anywhere outside of your network. You can see if it’s a public IP or carrier NAT by looking through your router’s configuration and checking if the public IP it has matches the one a “what’s my ip” search would give you. NAT IPs usually start with You can also call your ISP and tell them you need a public IP because you installed security cameras in your house and need to access them from the outside (this is actually really effective).

If there is no option to have a public IP for you, you can check out NGrok, they give you a “reverse tunnel” that enables you to connect to any host in any network.

Most likely your operator is using Carrier Grade NAT to have more customers per public IP.

If your WAN address starts with 100.64100.127, it means your operator is using CGNAT.

With CGNAT, it is impossible to host any services to public internet.

You need to either use IPv6 or switch to an operator that does not use CGNAT.

Tagged : /

Leave a Reply

Your email address will not be published. Required fields are marked *