How can the public network access a site on the local area network?

set up a site on a computer in the company"s local area network, and there is no problem for local area network access. Now you want the public network to access this site, how to configure it?
ps: has a domain name


through the internal and external penetration tool. For example, peanut shell, ngrok


on the router that accesses the carrier line, add the following forwarding rule:

 TCP  80  443 
=>
 IP

use nginx or another server as a reverse proxy and use a subdirectory of the company's domain name to point to the intranet

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31c12-2bdc7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31c12-2bdc7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?