在弄 iptables,对 [映射 /转发 /重定向] 不是很理解。
在弄 iptables,对 [映射 /转发 /重定向] 不是很理解。
|
1
转发是用户请求 A 地址 但服务器实际上返回 B 地址
重定向 是用户访问 A 地址后浏览器地址跳转 B 地址 |
|
julyclydeJul 26, 2017
4
映射是一个关系
转发是一个动作 重定向是让请求方自己去做动作 |
|
zinglJul 26, 2017
5
Wikipedia:
In computer networking, port forwarding or port mapping is an application of network address translation (NAT) that redirects a communication request from one address and port number combination to another while the packets are traversing a network gateway, such as a router or firewall. |