iptables and NAT/port forwarding not working after server reboot
Solution 1:
You should check that IP forwarding is enabled on your host using cat /proc/sys/net/ipv4/ip_forward
. This command should print 1
. If it's not enabled, you should enable it using echo 1 > /proc/sys/net/ipv4/ip_forward
.