[EMAIL PROTECTED] wrote:
Dear
I have a question for something that I cannot seem to get to work
properly. I have implemented this on Linux with iptables in the past,
but this is for AIX 5.3. AIX now fully supports ipfilter. Is it
possible to create the following with ipfilter for an outgoing
connection:
NIC IP address x.y.z.u
If the source port of the outgoing connection lies between the range
[a-z] -> alter the source address to a.b.c.d
With iptables this would be something like:
iptables -t nat -A POSTROUTING --source x.y.z.u --source-port a:z -j
SNAT --to-source a.b.c.d
The equivalent ipnat rule for IP Filter would be:
map eth0 from x.y.z.u port a:z to any -> a.b.c.d tcp/udp
Darren