大网数据广告活动
服务器运维问答

can not receive ssh connections from outside my ISP

· 52CE 我爱测

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…

问题原文

原帖链接 · Felipe Lincoln · CC BY-SA 4.0

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 https://myip.com.

已采纳解答

原帖链接 · Chris · CC BY-SA 4.0

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 100.xxx.xxx.xxx. 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-06-05)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。