Hi, Now I have such a scenario that I should write different nat rules according to the designated locally port is open or not. For example, if the port is listening then do the nat operation, otherwise do not use this rule. Any help would be greatly appreciated! Donghua, Liu -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html