On Monday 05 January 2004 6:22 am, ding dang wrote: > When using SNAT of Netfilter as an NAPT, how will Netfilter assign the > public UDP port for a UDP request from the private network to Internet? With both TCP and UDP, netfilter will use the source port contained in the original packet if it can (ie: if that source port is not being used for something else by the netfilter machine). If this is not possible, then another port is chosen at random using the standard socket-binding mechanism used for any network connection. > Could someone detail it to me when the UDP request is > NEW/ESTABLISHED/RELATED/REPLIED/UNREPLIED? This makes no difference. Antony. -- In science, one tries to tell people in such a way as to be understood by everyone something that no-one ever knew before. In poetry, it is the exact opposite. - Paul Dirac Please reply to the list; please don't CC me.