Re-writing packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get Microsoft's MSN messenger working from behind a iptables/MASQ firewall. I have installed a SIP proxy and redirected outgoing packets to the proxy.

However, before Messenger will allow phone calls, it attempts to see if calls ba be placed by connecting to a Microsoft IP address, port 7001.

From my packet sniffing, it appears that the client (Messenger) send packets out to 65.54.240.62, port 7001. However, the replies come back from 65.54.240.61. The port numbers match, but the IP address is different. The client also tries sending packets to 65.54.240.61, but no replies to these come back.

So, my question is: is there some way with iptables, to re-write the packets returning from 65.54.240.61 so that they have a source address of 65.54.240.62 AND then have those packets handled by the MASQ code and forwarded to the correct client (behind the MASQ firewall)?

Thanks!
Simon



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux