Setup
Setting Interfaces:
nmtui



Setup Zones:

Setup Masquerading
Allow web traffic internally:
Port Forwarding:
Last updated
nmtui




Last updated
firewall-cmd --get-zonessudo firewall-cmd --zone=external --change-interface=eth0 --permanent
sudo firewall-cmd --zone=internal --change-interface=eth1 --permanentsudo firewall-cmd --zone=external --add-masquerade --permanentsudo firewall-cmd --zone=internal --add-service=http --permanent
sudo firewall-cmd --zone=internal --add-service=https --permanentsudo firewall-cmd --zone=external --add-forward-port=port=80:proto=tcp:toaddr=192.168.2.2 --permanent
sudo firewall-cmd --zone=external --add-forward-port=port=443:proto=tcp:toaddr=192.168.2.2 --permanentsudo firewall-cmd --reload