The FW can function as a proxy for accessing the web (URL) resources on an intranet.
Figure 1 show the procedure for a remote user to access the web server on an enterprise network using the web proxy function.
The FW rewrites the URL of the desired web resource (http://website/resource.html) when listing the web resource. After the remote user clicks the URL of the desired web resource, an HTTPS request is sent to the FW. The requested link is the rewritten URL (a combination of two URLs: https://gateway-domain and http://website/resource.html.
As shown in the service interaction process, the web proxy implementation process is divided into two phases. I phase 1, the remote user establishes an HTTPS session with the virtual gateway on the FW. In phase 2, the virtual gateway on the FW establishes an HTTP session with the web server. The virtual gateway rewrites and forwards the web requests during the process.
Web proxy can be implemented using web rewriting or web link as follows:
Rewriting has two meanings: The first meaning is encryption, that is, the virtual gateway encrypts the actual URL after a remote user clicks a lin in the resource list. For example, in step 2 in Figure 1, the actual URL requested by the user is http://website/resource.html. After web rewriting, the URL may be displayed as http://website/D%3A/0–2+resource.html. The rewritten URL is displayed instead of the actual URL so that the address of the web server on the enterprise network is hidden from outsiders. In web rewriting, the virtual gateway encrypts not only the URLs of the requested web resources, but also the URLs of objects, such as Flash content, PDF files, or Java Applets, referenced by the web resources.
The other meaning is adaptation. Various types of terminals use different types of operating systems and browsers and therefore support different types of Web resources. To mask the differences of terminals, the FW must also adapt the requested web resources to the terminals. The FW automatically adapts requested web resources to requesting terminals after the web proxy function is enabled. If the adaptation does not work for certain HTML objects or ActiveX controls after the web proxy is enabled, administrators need to manually configure adaptation policies.
The web link function does not perform encryption or adaptation and only transparently forwards the requests of remote users.
Because encryption and adaptation are missing in the web link function, the service processing efficiency is higher than that in the web proxy function. Due to the encryption and adaptation, the security of the web rewriting function is higher than those in the Web link function.
Figure 2 shows the packet encapsulation process when a remote user accesses web resources on the enterprise network. The process involves two sessions, one HTTPS session and one HTTP session. A random port (6293 in this example) is used as the source port to establish an HTTPS session from the remote user to destination port 443 on the virtual gateway. A random port (10091) is used as the source port to establish an HTTP session from the virtual gateway to destination port 80 on the web server.
Figure 3 shows the FW security zones that packets pass through.
When a remote user accesses an enterprise web server, packets passing through the FW are classified into two types, and the corresponding security policies are as follows:
The encrypted SSL VPN packets pass through the Untrust zone to the Local zone.
The decrypted service packets pass through the Local zone to the Trust zone.