In this video, we will set up and configure port-forwarding. This is an objective on the RHCE and is a pretty cool feature to learn.
Tips:
Turn masquerade on: firewall-cmd --add-masquerade --permanent
Find correct syntax: firewall-cmd --help | grep forward
First set up without --permanent to see if it is working correctly, if so, then add it permanently.
Don't forget to reload the configuration and check:
firewall-cmd --reload; firewall-cmd --list-all