Hey! In fact, this is a well-known issue for a long time. When configuring IPTABLES, the tcp or udb packet is edited (and decreasing the TTL by 1) and changes the recipient to itself. The response from your partner actually comes. But it gets stuck on your server. when editing the original package, you cannot specify to whom to return. That is, your server receives a response but does not know what to do with it and burns it there.
There is a solution to use a tcp-proxy. I can write to you on the NodeJS or create from existing solutions. Describe your task detailed and I will select the best and fastest solution for you