===
This is used to set the 8-bit Type of Service field in the IP header.It is only valid in the mangle table.
--set-tos symbol
You can use a numeric TOS values, or use iptables -j TOS -h to see the list of valid TOS names.
MASQUERADE和TOS的区别:
======================
--set-tos symbol
You can use a numeric TOS values, or use iptables -j TOS -h to see the list of valid TOS names.
MASQUERADE和TOS的区别:
======================
MASQUERADE的作用和SNAT完全一样,只是计算机的负荷稍微多一点。因为对每个匹配的包,MASQUERADE都要查找可用的IP地址,而不像SNAT用的IP地址是配置好的。当然,这也有好处,就是我们可以使用通过PPP、PPPOE、SLIP等拨号得到的地址,这些地
址可是用ISP的DHCP随机分配的。