How to configure ufw to forward port 80/443 to internal server hosted on LAN

Originally published at: https://www.cyberciti.biz/faq/how-to-configure-ufw-to-forward-port-80443-to-internal-server-hosted-on-lan/

I am using UFW to protect my network. How do I forward TCP HTTP port # 80 and 443 to an internal server hosted at 192.168.1.100:80 and 192.168.1.100:443 using UFW on Ubuntu Linux server?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki