<P>
  <BR>
<BR>
<BR>
Dear sir,<BR>
<BR>
SORRY FOR MINE POOR ENGLISH.<BR>
this is mine configuration.<BR>
a----------------->b------------------------------------------->c  <BR>
           10.10.10.5(global ip)                        10.10.10.5<BR>
           port=7500                                    port=5500<BR>
           server s1                                    server s1 <BR>
>now server s1 is running on both the machine but on different port.<BR>
Objective<BR>
---------------------<BR>
>if 'a' sends a packet(ip=10.10.10.5 dport=7500) .then this packet is recive by 'b'<BR>
>Otherwise forward it to 'c'<BR>
---------------------------  <BR>
>i have made modification on the source code(also ip_forward enabled).<BR>
>for udp its no problem<BR>
>for tcp,one way forwarding is no problem.('a' sends a syn packet having destination ip=10.10.10.5 and dport=5500 to 'b'. now 'b' forwards it to 'c')<BR>
<BR>
>now the ack packet 'c' sends to  'b'.but 'b' can't deliver it to 'a'.<BR>
<BR>
>i have followed the same techineque for forwarding from 'b' to 'a'(as that of i do while forwarding 'b' to 'c') skiping the source validation .still it hangs sometimes not always.i gives the cases<BR>
<BR>
CASE 1:<BR>
-------<BR>
>send a udp packet having(ip=10.10.10.5 port=5500) from 'a'.it reaches at 'c'<BR>
>now send a packet udp packet from 'c' to 'a'.it reaches<BR>
>now send a tcp packet from 'a'(ip=10.10.10.5 dport=5500).it reaches to 'c' also reply comes to 'a'.its working, its fine.<BR>
<BR>
CASE 2:<BR>
-------<BR>
>if i first tries to send a tcp packet having(ip=10.10.10.5 port=5500)<BR>
then system 'b' hangs.<BR>
<BR>
CASE 3:<BR>
---------<BR>
>if i first send a udp packet from 'c' to 'a'.system 'b' hangs.<BR>
<BR>
<BR>
i did not getting the problem.<BR>
With Regards<BR>
  kanhu<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>