Is it possible to put a Droplet behind NAT? So I can simulate a Computer in another normal Network that is typically behind a NAT.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi there @paulhannefortho,
I could suggest checking out this tutorial here on how to forward ports through a Linux gateway with Iptables:
https://www.digitalocean.com/community/tutorials/how-to-forward-ports-through-a-linux-gateway-with-iptables
It goes through the process of permitting forwarding at the kernel level, setting up access to allow forwarding of the specific port’s traffic between two interfaces on the firewall system, and configuring the NAT rules so that the packets can be routed accordingly.
Hope that this helps! Regards, Bobby