52ky 发表于 2022-9-13 11:12:05

iptables入门

链和表表filter:望文生义,用于过滤的时候nat:望文生义,用于做NAT的时候NAT:NetworkAddressTranslator链INPUT:坐落filter表,匹配意图IP是本机的数据包FORWARD:坐落filter表,匹配穿过本机的数据包,PREROUTING:坐落nat表,用于修改意图地址(DNAT)POSTROUTING:坐落nat表,用于修改源地址(SNAT)
iptables.pdf

(Chain and table table filter: As per the text, when used for filtering nat: As per the text, when used for NAT NAT: NetworkAddressTranslator chain INPUT: located in the filter table, the matching intent IP is the local data packet FORWARD: located in the filter table, matching wear The data packets passing through the machine, PREROUTING: located in the nat table, used to modify the intent address (DNAT) POSTROUTING: located in the nat table, used to modify the source address (SNAT)
iptables.pdf)




页: [1]
查看完整版本: iptables入门