How to change source port in MASQUERADE mode?
richardliu at ms1.techarea.org
Fri Sep 30 06:36:48 CEST 2005
I have a question about change tuple source port.
I have a nat device, and I want this device can change tuple source port
in some special conditions (not always).
I want change tuple source port in MASQUERADE module.
Destination Gateway Source
DA(Ipaddr):Port GA:Port SA:Port
In Masquerade modules
But I want to the src port be changed in some conditions like this.
I am tracing source few days, but I still don't know which function
allocate tuple source port.
Does anyone can give me some hints, I am very appreciate.
More information about the netfilter-devel