<div>​</div><div>Thanks  Reinis</div><div>I've managed to set up for this. And succeded.</div><div>But, i have a problem after it.</div><div>I used transparency way in the referred page.</div><div>Client and upstream server are connected through linux sockets. </div><div>Here is my problem.</div><div>If upsteam server down(network also down), client does not recognize the situation . So socket connection is alive from client side. </div><div>Actually client side should recognize it and close the connection.</div><div>How do i handle this in nginx side? </div><div>​</div><div>BR​</div><div>​</div><div><p style="font-size:10pt;font-family:sans-serif;padding:0 0 0 10pt"><span>-----Original Message-----</span><br><b>From:</b> "Reinis Rozitis"<r@roze.lv> <br><b>To:</b> <nginx@nginx.org>; <br><b>Cc:</b> <br><b>Sent:</b> 2021-10-08 (금) 21:24:44 (GMT+09:00)<br><b>Subject:</b> RE: Reverse proxy for tcp stream<br><br></p>> I have found for these situation , and tried proxy_bind transparency. <br>> But, the socket server never get connection request.<br>> From proxy server , timed out logs are coming.<br>> How can socket server behind proxy get real client ip address?<br><br>There are more steps/things you have to do to make ip transparency) work than just to enable it in nginx config - as in you have to change firewall (iptables) and routing. More detailed here: <a href="https://www.nginx.com/blog/ip-transparency-direct-server-return-nginx-plus-transparent-proxy/#ip-transparency" target="_blank">https://www.nginx.com/blog/ip-transparency-direct-server-return-nginx-plus-transparent-proxy/#ip-transparency</a> <br><br>It's more complicated than with the simple http/header approach.<br><br>Wbr<br>rr<br><br>_______________________________________________<br>nginx mailing list<br>nginx@nginx.org<br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>​</div><div>​</div><table style='display:none'><tr><td><img src="https://mail.naver.com/readReceipt/notify/?img=6we9br%2B5WrGSpxmsaxC5M6t%2FMoEXpAK9pAFopoJ4MrKwp6pSaAiCpoEqa6KrtzFR%2BrkSKAt5W4d5W4pZMLlGWq%2FsW4%2BGWNCgW4%2BGWN25WXiN.gif" border="0"/></td></tr></table>