Seek to provide a solution

at present, a project needs to do a resource management system. At present, the system can only be used in the intranet environment of the customer group, as long as each branch can be accessed through the intranet. However, customers put forward the need to have access to the external network, and the current method is to use VPN to connect to the internal network to access the system. But the customer"s intranet system is very slow, uploading a picture is barely possible, if the larger file will affect the phase rate.
at present, I can think of
1. The external network can also build a system to allow the internal network server and the external network server to carry out Synchronize through the file Synchronize mechanism, so that the speed through the internal and external network is guaranteed. But in this case, there is a problem is that the operating costs of the two systems will be very high, the server capacity of the external network is limited, and the cost of expansion is much higher than that of the internal network.
2. Put the system completely on the external network, but that will certainly not work. The system still needs to access
3 through the internal network. The external network makes a channel, only uploading and reading files, and the actual files are still stored in the internal network. But I don"t know if the requirement of bandwidth speed is higher in this way, and I don"t know whether it can be realized or not.

also ask the great gods who have experience in this field to help think of a way, thank you


  1. requires the customer to have a fixed ip, open to the customer ip alone in the firewall;
  2. Open system (port mapping and so on), but requires authentication, and has a strict concept of user groups and permissions. This requires a bit of development cost, because the TSL + Basic authentication is an easy but not particularly secure way to authenticate.

I think the best solution is the second. If providing faster service to external network customers can bring you enough benefits, I think we can develop the authentication system well, and then completely open access to the public

.
    It is important to know whether
  1. is slow on the customer's system or on the system connected through vpn.
  2. Intranet penetration learn about
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-1b3b041-2c268.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-1b3b041-2c268.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?