路由器port触发与转发---Port Forwarding & Port Triggering

What is Port Triggering?

If you have not read my explanation of port forwarding do so now. You can find it
here.

Port triggering is pretty simple once you know what port forwarding is. Port Triggering is port forwarding with an on/off switch for the ports that have been forwarded. This on/off switch is turned on or off by data flowing out of a trigger port.

Let‘s say that there is a port triggering rule configured in the router. This port triggering rule says when data flows out on port 50 forward port 80. In the picture above you see data flowing from a computer to the internet on port 50.

The router see‘s the traffic coming out of the router on port 50, and evaluates it‘s triggering rules. The router then forwards port 80 to the computer that sent out the data on port 50. It‘s important to realize that port 80 can only be forwarded to one
computer at a time. If two computers were trying to send data out on port 50, there would be a conflict. What happened after that really depends upon which router you are running. One thing is for sure, port 80 would not be forwarded to both computers.

The picture above shows that the data has quit being sent out of port 50. Programs do not send data if there is nothing to be sent, so data being sent out of port 50 is not guaranteed. The router keeps port 80 forwarded for a certain amount of time. How
much time really depends upon the router.

Once the router is done waiting, it quits forwarding port 80 to the computer that sent data out on port 50. This makes a port triggering configuration a tricky thing. The software that requires ports to be forwarded must first send data out of a port at
a somewhat constant rate. If the software has a port that is constantly sending data out, then port triggering is possible. The length of time that the router keeps those ports open still needs to be taken into account. If the router times out between the
gaps of outgoing data, the port forwarding connection will be severed. That is why so few programs support port triggering. What happens when you are trying todownload a very large file? Well the software you have setup port triggering for may not keep sending
data out of the trigger port.If it doesn‘t your router closes the incoming ports, and your download is interrupted.

Port Triggering is a little more secure than port forwarding, because the incoming ports are not open all the time. They are only open when a program is actively using the trigger port. Another thing to note, is that most port triggering setups do not require
you to enter an internal ip address to forward the incoming ports to. This means that any computer on the network can use your port triggering setup. If two computers try to use the port triggering setup at the same time you will run into problems.

时间: 2024-10-13 08:14:47

路由器port触发与转发---Port Forwarding & Port Triggering的相关文章

路由器端口触发与转发---Port Forwarding & Port Triggering

What is Port Triggering? If you have not read my explanation of port forwarding do so now. You can find it here. Port triggering is pretty simple once you know what port forwarding is. Port Triggering is port forwarding with an on/off switch for the

【异常】Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting a

HMaster和HRegionServer是Hbase的两个子进程,但是使用jps发现没有启动起来,所以去我们配置的logs查看错误信息.提示:Could not start ZK at requested port of 2181.  ZK was started at port: 2182.  Aborting as clients (e.g. shell) will not be able to find this ZK quorum. 但是在hbase-env.sh文件中设置了expor

TCP的三次握手和四次挥手与路由器(三层)转发原理

传输层是国际标准化组织提出的开放系统互连(OSI)参考模型中的第四层.该层协议为网络端点主机上的进程之间提供了可靠.有效的报文传送服务.其功能紧密地依赖于网络层的虚拟电路或数据报服务.传输层定义了主机应用程序之间端到端的连通性.传输层只存在于端开放系统中,是介于低3层通信子网系统和高3层之间的一层,但是很重要的一层,因为它是源端到目的端对数据传送进行控制从低到高的最后一层.传输层的服务一般要经历传输连接建立阶段,数据传送阶段,传输连接释放阶段3个阶段才算完成一个完整的服务过程.而在数据传送阶段又

firewalld 网络端口安全详细介绍

redhat7 network port security 网络端口安全 目录: * 1.firewald ---firewalld 服务 * 2.configuring a firewall---配置防火墙 * 3,managing rich rules---管理富规则 * 4,masquerade and port forwarding---伪装和端口转发 * 5,forwarding a port --端口映射 * 6,adding custom firewalld zone and se

NAT&Port Forwarding&Port Triggering

NAT Nat,网络地址转换协议.主要功能是实现局域网内的本地主机与外网通信. 在连接外网时,内部Ip地址需要转换为网关(一般为路由器Ip地址)(端口号也需要相应的转换) 如:QQ程序 在一个局域网中,路由器(网关)WAN侧ip为200.0.0.123 局域网三台计算机:计算机A 192.168.0.10,计算机B 192.168.0.20,计算机C 192.168.0.30 分别登陆一个qq程序,在各自机子上,IP和Port分别为 计算机A 192.168.0.10:4000,计算机B 192

路由及路由器工作原理深入解析3:路由与port

日志"路由及路由器工作原理深入解析1"http://user.qzone.qq.com/2756567163/blog/1438322342介绍了"为什么要使用路由器"和"TCP/IP V4 协议网络的分段原理"2个问题.日志"路由及路由器工作原理深入解析2"http://user.qzone.qq.com/2756567163/blog/1438329517介绍了路由的工作原理.并以一个详细实例的实现深入剖析了路由的实现过程

How to do SSH Tunneling (Port Forwarding)

In this post we will see how ssh works?, what is SSH tunneling? what is important of ssh tunnels and how to setup the ssh tunnel.When SSH server is installed in machine then by default its allowed ssh tunneling. SSH Tunneling (Port Forwarding) Tunnel

Port Forwarding in Windows

转自:http://woshub.com/port-forwarding-in-windows/ Since Windows XP there is a built-in ability in Microsoft Windows to set up network ports forwarding. Due to it, any incoming TCP connection (IPv4 or IPv6) to local port can be redirected to another lo

内网port映射具体解释(花生壳)

关于怎样建立服务器的解答. 一.花生壳的作用 首先,我们先来了解一下花生壳的究竟有什么作用.由于ADSL每次拨号上网所获得的IP地址每次都是不同的,花生壳起到的作用就是方便用户訪问我们的server(仅仅须要输入域名便可),而不用每次都输入IP地址那么麻烦(由于我们也不可能每次又一次拨号上网后,又去告诉用户如今的server的IP地址什么). 比如,我们的花生壳护照下有一个域名www.oray.net ,那么仅仅要在电脑上用该护照登陆了花生壳client.当别人输入www.oray.net的时候