Configure remote access: enable external network users to use the company's internal OA office system

Preface

Nowadays, most companies will build and use their own office management systems on the company's intranet, such as OA, ERP, Kingdee, etc. Employees only need to access them through the IP address + service port number in the company's intranet environment.

With the epidemic recurring, working from home has become very common, but when working from home, how to access the company's intranet to log in to the OA office system is a problem.

To access the internal network from the external network, you can 内网穿透do it through . There is no need for company operation and maintenance personnel to set up a VPN, no public IP, and no need to enter the router settings.

Here is an 免费还不限制流量intranet penetration tool recommended - cpolar, 支持http/https/tcp协议, which is simple to operate.

If you use cpolar内网穿透it to access the company's intranet OA office system anytime and anywhere:

IP+端口号1. Confirm that you can log in to the OA office system under the intranet

Generally, the default port number of oa system is port 80, which depends on the actual setting.

Insert image description here

2. Install cpolar intranet penetration

cpolar intranet penetration official website: https://www.cpolar.com/

Click to enter the cpolar official website, click 免费使用to register an account, and download the latest version of cpolar

  • Download the zip compressed package on Windows system, unzip it to get the cpolar installation package, and then double-click the installation package to install it by default;
  • The Linux system supports one-click automatic installation script;
  • Download the zip package on macOS system, unzip it to get cpolar, and then run it with parameters through the command line.

To install cpolar on Linux systems and macOS systems, please refer to the official website documentation tutorial————→ https://www.cpolar.com/docs .

Insert image description here

3. Create a tunnel to map the intranet OA system service port

After the cpolar installation is completed, access 127.0.0.1:9200 on the browser and log in to the web UI using the cpolar account.

web ui

隧道管理After successfully logging in and entering the main interface, click on the left dashboard——创建隧道

  • Tunnel name: Customizable name, be careful not to repeat it
  • Protocol: Selecthttp
  • Local address: fill in 80the port
  • Domain name type: Free users choose 随机域名, paying users can configure a fixed second-level subdomain name or a custom domain name
  • Region: SelectChina vip

then click创建

Insert image description here

After the tunnel is successfully created, you can see that the status of the tunnel is normally started at 隧道管理------ . 隧道列表

Insert image description here

4. Achieve external network access to the company’s intranet OA system

状态After the tunnel is successfully created, you can view the public network address 在线隧道列表of the tunnel just created on the dashboard on the left . There are two lines, one for the http protocol and one for the https protocol.

Insert image description here

We copy one of the public network addresses and access it through the browser. We can see that we can access it normally, achieving remote access to the internal network OA office system from the external network.

Insert image description here

Summarize

Since we are using free cpolar intranet penetration this time, the generated public network address is a random temporary address, which will change every 24 hours, and the bandwidth is small, which is more suitable for temporary occasions and for long-term remote For users who visit, it is recommended to upgrade the cpolar package, configure a fixed public network address (you can use the second-level subdomain name of cpolar, or configure it to use your own domain name for access), and at the same time increase the bandwidth to achieve more efficient remote access and remote access. office.

Guess you like

Origin blog.csdn.net/cdtu_mid/article/details/132756255