5

路由器的端口映射疑问

 1 year ago
source link: https://www.v2ex.com/t/913293
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

路由器的端口映射疑问

  kyrre · 5 小时 28 分钟前 · 711 次点击

过年在家折腾个产品展示之类的小网站,就是一堆 web 静态页面用 nginx 来提供服务。 买了个域名,然后云解析的啥也配好了。路由器的公网 IP 啥的都搞定了,现在的问题是要在路由器上开个端口映射,但通常默认的 HTTPS 和 HTTP 都是不行,试了华为的路由器和华硕的,都不行。我猜是这两个端口被它们用来作为自己的管理口占用了(估计预设的防火墙规则啥的都默认用了这两个端口,导致我即使在这两个端口上配了端口映射也不能正常把流量转到内网的 nginx 上),用非标准的端口就没问题。但这样互联网用户访问就要在域名后加端口号,会劝退一拨人。 V 友们有知道那款路由器可以配这种 443/80 上的端口映射的吗?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK