Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
Based on your tcpdump log, it’s clear that your forwarded packets are reaching HOST-B, but it seems as though there’s no response coming back. This could be due to a few reasons:
HOST-B is not accepting or responding to the packets. You should make sure that your application on HOST-B is accepting connections on port 9876.
The return packets might be not correctly routed back to the client through GW-A. Make sure you’ve configured your POSTROUTING rules correctly.
You can use the iptables -t nat -L -n -v command to verify your rules.
Remember to make any iptables configuration changes, and always test your configuration after applying it.
Hope that this helps!