On Tuesday 14 June 2005 15:01, Baskaran Mohandass wrote: > I am trying to source nat the packet generated locally using > iptables. Machine is running Fedora core2 and one of the interface > address is 5.5.5.7. Sip server sends a packet with source port 5060 > and ip address 5.5.5.7. I want to change the IP address and the > source port when it goes out. Change the source IP to what? Change the source port to what? > Reading the IPtables manual only rule i > can think of is iptables -t nat -A POSTROUTING --protocol udp > --source-port 5060 -j SNAT --to-source 5.5.5.7:1024-32000. That's the same IP. > this. If there is any patch available for this I am ready to try. Describe better what it is you need to do, and I bet your answer is in the man page. -- mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header