Configure the virtual server

Applicable products:
zoom in pic
Configure the virtual server

The virtual server function can map a port of the external network IP address to a port of a computer in the internal network, thereby enabling the external network to access the computer in the internal network. The operation steps are as follows:

 
  • The prerequisite for normal use of port mapping is that the WAN IP obtained by the CPE is a public IP, otherwise the configuration will not take effect. If you are not sure whether the WAN IP is a public IP, please contact the corresponding operator to confirm.
  • A maximum of 32 virtual servers can be configured.
  • The configuration pages of different models of CPE and different versions may have slightly different operation interfaces. Please refer to the actual interface.
  1. Connect your computer to the CPE's Wi-Fi (or to the CPE's LAN port using an Ethernet cable). Enter 192.168.8.1 in the address box of the browser, and enter the login password to access the management page of the CPE.
  2. Go to Advanced> Security > Virtual Server, and click the + icon to access the virtual server configuration page.

  1. Enter a custom service name in Name. In Protocol, select the protocol type used by the service. Enter the WAN IP address of the remote computer that needs to access the service in Remote host. Enter the service port number of the CPE for Internet users to access in WAN Port. In Device, select the computer that needs to provide services (such as Web server, FTP server, etc.). Enter the IP address of the computer that provides external services in LAN IP Address. Enter the service port number of the computer that provides external services in LAN Port. Click Confirm.
    • Name: Customized port mapping service name.
    • Protocol: The protocol type used by the port mapping service, such as TCP and UDP. If you are not sure about the specific type, you can select TCP/UDP.
    • Remote host: The WAN IP address of the remote device to access the service.
    • WAN Port: Please consult the network administrator to fill in the port number used when accessing the computer from the external network.
    • Device: Computers that need to be configured for port mapping (such as web servers, FTP servers, etc.).
    • LAN IP Address: Provide the IP address of the port mapping computer, automatically filled in after selecting the Device.
    • LAN Port: Please consult the network administrator to fill in the service port number of the computer that provides external services.

      Remote host does not need to be filled in. At this time, all remote hosts can access the service. If filled in, only the device corresponding to the WAN IP address of this remote host can access the service, and other remote devices cannot access it.

For example, to configure the web server so that the client with the IP address 192.168.8.101 provides web services and is accessed by external users, perform the following operations:

1. Configure virtual server

Name

Protocol

Remote host

WAN Port

Device

LAN IP Address

LAN Port

Web

TCP

21.1.1.11

80

Client that provides web services

192.168.8.101

80

2. Select Advanced > System> Device Information to view the CPE's WAN side IP address. For example 10.2.1.123.

3. An external user (21.1.1.11) enters the Web server address (http://10.2.1.123) in the browser to access the Web service provided by the client with the IP address 192.168.8.101. By default, the web service port is 80, if this port is changed (for example, to 8021), external users must enter http://10.2.1.123:8021 to access the web server.

Helpful or not?
Thanks for your feedback.