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.

Hi all
I am relatively new to UFW and iptables.
I need the following port forwarding to be permanent: iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8443 -j ACCEPT iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443
I have enabled UFW and made settings in there as well.
When rebooting the UFW settings remain but the iptables settings disappear.
How do I make them permanent? Preferably via UFW - if possible.
Thanks
samiam
abeen .
Jota Russo
CaiserSz
Wouter van Ooijen
SwimmingTealDolphin
699c9bc0a2c34f248e792cb8d2c6ab
e6317acc26184445891017fc7a2d90
87c210597c394f9ebe6ed063a4a6c7
jbopko
saferugdev
DriftingNavyStarfish