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

Ports and Port forwarding

· 52CE 我爱测

In port forwarding all the ports (extensions of IP’s which altogether create ’the packet’) are associated with IP addresses. When configuring PCP (Port Control Protocol) via router settings- only the port of accesing device you w…

问题原文

原帖链接 · Nora Kacenova · CC BY-SA 4.0

In port forwarding all the ports (extensions of IP’s which altogether create ’the packet’) are associated with IP addresses. When configuring PCP (Port Control Protocol) via router settings- only the port of accesing device you want to open up to the Firewall is needed?

When you use port forwarding for redirecting port nr 80 (HTTP-webtraffic in case of own web server this one is in such case blocked) ,to do this you statically map the external IP address + port 80 to the Internal IP address of the web server + port 80. – There are suggestions it works only with confirgured static IP, or can be DHCP allowed as well?

已采纳解答

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

Exactly Norka as you assume, to have the networking set up proprely, you'll need to set a static internal IP address (ipv4) for your device. DHCP can cause all the port forwarding rules to be in vain if you’re assigning them to devices with dynamic IP. It's highly recommended to set up a Dynamic DNS service which will allow you to link your (changing) home IP address to a memorable address. As long as you assign a static IP address to the target device and set up a dynamic DNS server for your home IP address you can access your network with easy.

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

资料来源与适用范围

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

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

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