How to use proxy between public network and private network

2024-08-22

There are several ways to use proxy between public network and private network:

 

HTTP proxy server: This is a common proxy method, and an HTTP proxy server can be set in the browser to realize the forwarding of network access. The specific setting method will vary according to different browsers. For example, in IE, you can set it through "Tools /Internet Options …", while in Firefox, you can set it through "Tools/Options …". In addition, you can also use some browser extensions to realize fast proxy switching, such as QuickProxy and AutoProxy.

 

VPN (Virtual Private Network): VPN is a technology to establish a private data communication network in a public network, which can provide a secure data transmission tunnel service for enterprises or individuals. VPN can be divided into intranet VPN, remote access VPN and extranet VPN, which are classified according to their different functions. The realization of VPN depends on tunnel protocols, such as PPTP, L2TP and IPSec.

 

NAT (Network Address Translation): NAT technology allows an entire organization to share a public IP address, while each internal device has a private IP address. Through NAT technology, devices in private networks can access public networks, while users in public networks cannot directly access devices in private networks unless through port mapping technology.

 

Port mapping technology: Port mapping is a kind of NAT, which can map a port of an external network host to a specific port of a machine in the internal network, so as to realize the access of the external network to specific services in the internal network. This is very useful when you need to access the intranet server from the public network.

 

Manually set the proxy: In Windows system, you can manually configure the proxy server through "Network and Internet" settings in Control Panel. In Linux system, you can set the proxy IP by modifying the network configuration file.

 

Browser proxy settings: For example, in Microsoft Edge browser, you can enter the system configuration page through the browser's Settings menu and find "Open computer proxy settings" to configure the proxy server.

Mobile VPN solution: For example, the mobile VPN solution released by Huawei can meet the needs of enterprise users for safe and convenient access to public networks and campus intranets anytime and anywhere, and has the characteristics of excellent experience, easy connection and high reliability.

 

Reverse proxy configuration: For example, using Nginx for reverse proxy configuration, you can access your own server or website from the public network. This usually involves editing configuration files and setting related services.

 

VPN configuration of Mac system: VPN configuration in Mac system can be realized by officially recommended software or manual configuration to improve the security in public Wi-Fi environment.

 

Detailed analysis of VPN: VPN technology can realize safe and private data transmission on public network, and its core is to build a logical dedicated data channel, which has high security and privacy and can only be used by authorized users.

 

These are some common ways to use proxies between public and private networks. Each method has its own applicable scenarios and advantages, and users can choose the appropriate agent method according to their own needs and environment.