CN108306792B - Method, device and system for testing VPN function of equipment and test equipment - Google Patents

Method, device and system for testing VPN function of equipment and test equipment Download PDF

Info

Publication number
CN108306792B
CN108306792B CN201810304595.8A CN201810304595A CN108306792B CN 108306792 B CN108306792 B CN 108306792B CN 201810304595 A CN201810304595 A CN 201810304595A CN 108306792 B CN108306792 B CN 108306792B
Authority
CN
China
Prior art keywords
vpn
equipment
tested
connection
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810304595.8A
Other languages
Chinese (zh)
Other versions
CN108306792A (en
Inventor
朱渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xinda Huanyu Security Network Technology Co.,Ltd.
Original Assignee
Beijing Xinda Huanyu Security Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xinda Huanyu Security Network Technology Co ltd filed Critical Beijing Xinda Huanyu Security Network Technology Co ltd
Priority to CN201810304595.8A priority Critical patent/CN108306792B/en
Publication of CN108306792A publication Critical patent/CN108306792A/en
Application granted granted Critical
Publication of CN108306792B publication Critical patent/CN108306792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0272Virtual private networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a system for testing a VPN function of equipment and the test equipment, which relate to the technical field of network communication, wherein the method comprises the following steps of automatic execution: establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested, and configuring the terminal equipment into a VPN client; controlling the terminal equipment to send a dial-up connection request to the equipment to be tested so as to establish VPN connection; and verifying whether the terminal equipment can use the VPN connection for communication through the equipment to be tested. The testing method provided by the invention has the advantages of low requirement on testing personnel, low testing difficulty, high testing efficiency, high testing accuracy and short testing period, and saves the labor cost required by testing.

Description

Method, device and system for testing VPN function of equipment and test equipment
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method, an apparatus, a system, and a test device for testing a VPN function.
Background
The function of a Virtual Private Network (VPN) is to establish a private network over a public network for encrypted communications. The method has wide application in enterprise networks. The VPN gateway realizes remote access through encryption of the data packet and conversion of a data packet target address. VPNs have a variety of classification schemes, mainly by protocol. A VPN may be implemented in a number of ways, including server, hardware, software, etc. With the VPN technology, users can access intranet resources by using the VPN whether the users are on business or at home, as long as the users can access the intranet resources through the internet, which is why the VPN is widely used in enterprises.
In addition, there are three main tunnel protocols of VPN, namely PPTP protocol, L2TP protocol and IPSec protocol, where PPTP protocol and L2TP protocol operate in the second layer of the OSI model, which is also called two-layer tunnel protocol; IPSec is a layer three tunneling protocol.
There are many ways to implement a VPN and many hardware devices integrate VPN functionality, such as routers, firewalls, and switches. Patent document No. CN106685956A discloses a method and a system for connecting a VPN network of a router, the method for connecting a VPN network of a router including: s100, mutually verifying the legality of the identities of a router of an internal network and a client of an external network; s200, a router of an internal network establishes a secure channel to be connected with a client of an external network, and performs key agreement with the client of the external network on the secure channel; s300, the router of the internal network controls the router to be matched with the channel configuration of the client of the external network, pushes the VPN related configuration parameters to the client of the external network, and establishes VPN network connection. This patent document provides a method of implementing a VPN function using a router.
At present, the test of the VPN function of the equipment is manual test, a tester needs to be skilled in mastering the knowledge of a large number of VPN various protocol functions, the manual test difficulty is high, and the tester needs to build a VPN client by himself.
Disclosure of Invention
The invention aims to solve the technical problems that the existing test for the VPN function of equipment is a manual test which has high difficulty, low test efficiency and easy error.
The invention solves the technical problem and provides a method, a device and a system for testing the VPN function of equipment and the test equipment.
The method for testing the VPN function of the equipment is applied to the test equipment, and comprises the following steps of automatically executing:
establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested, and configuring the terminal equipment into a VPN client;
controlling the terminal equipment to send a dial-up connection request to the equipment to be tested so as to establish VPN connection;
and verifying whether the terminal equipment can use the VPN connection for communication through the equipment to be tested.
Optionally, verifying whether the terminal device can use the VPN connection for communication through the device to be tested includes:
acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment, and judging whether the VPN connection is established successfully or not according to the feedback information;
if the VPN connection is successfully established, acquiring a VPN address from the terminal equipment, and judging whether the VPN address is a preset address or not;
and if the VPN address is a preset address, controlling the terminal equipment to call a ping command so as to verify whether the terminal equipment can use the VPN connection for communication.
Optionally, the VPN function of the device under test is configured to use PPTP protocol or L2TP protocol.
Optionally, when it is determined that the VPN connection is not successfully established, the VPN address is determined not to be a preset address, or the terminal device cannot communicate using the VPN connection according to the feedback information, storing test data and terminating the test process.
On the other hand, the invention also provides a device for testing the function of the VPN, which is applied to the test equipment and comprises the following components:
the system comprises a configuration module, a VPN client and a server, wherein the configuration module is used for establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested and configuring the terminal equipment into a VPN client;
the connection establishing module is used for controlling the terminal equipment to send a dialing connection request to the equipment to be tested so as to establish VPN connection;
and the verification module is used for verifying whether the terminal equipment can use the VPN connection to communicate through the equipment to be tested.
Optionally, the verification module comprises:
the first judgment submodule is used for acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment and judging whether the VPN connection is established successfully or not according to the feedback information;
a second judgment submodule, configured to, when the VPN connection is successfully established, acquire a VPN address from the terminal device, and judge whether the VPN address is a preset address;
and the verification submodule is used for controlling the terminal equipment to call a ping command to verify whether the terminal equipment can use the VPN connection for communication when the VPN address is a preset address.
Optionally, the VPN function of the device under test is configured to use PPTP protocol or L2TP protocol.
Optionally, the method further comprises:
and the data storage module is used for storing test data and terminating the test process when the VPN connection is determined to be unsuccessfully established, the VPN address is determined not to be a preset address or the terminal equipment can not use the VPN connection for communication according to the feedback information.
Further, the invention also provides a test device, which comprises the device for testing the VPN function of the device.
Furthermore, the invention also provides a system for testing the VPN function of the equipment, which comprises the test equipment, the terminal equipment and the equipment to be tested;
the test equipment is used for automatically executing the following steps: establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested, and configuring the terminal equipment into a VPN client; controlling the terminal equipment to send a dial-up connection request to the equipment to be tested so as to establish VPN connection; and verifying whether the terminal equipment can use the VPN connection for communication through the equipment to be tested.
The method for testing the VPN function of the equipment automatically controls the terminal equipment and the equipment to be tested through the test equipment, configures the VPN function of the equipment to be tested, configures the terminal equipment into a VPN client, further controls the terminal equipment to send a dialing connection request to the equipment to be tested so as to establish VPN connection, and further verifies whether the terminal equipment can use the VPN connection for communication through the equipment to be tested. And further verifying whether the VPN function of the equipment to be tested is normal. The testing method provided by the invention has the advantages of low requirement on testing personnel, low testing difficulty, high testing efficiency, high testing accuracy and short testing period, and saves the labor cost required by testing.
Drawings
Fig. 1 is a flowchart of a method for testing a device VPN function according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for testing a VPN function of a device according to a second embodiment of the present invention;
fig. 3 is a block diagram of a device for testing a VPN function according to a third embodiment of the present invention;
fig. 4 is a block diagram of a testing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a system for testing a VPN function of a device according to a fifth embodiment of the present invention.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
It should also be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
The method for testing the VPN function of the equipment automatically controls the terminal equipment and the equipment to be tested through the test equipment, configures the VPN function of the equipment to be tested, configures the terminal equipment into a VPN client, further controls the terminal equipment to send a dialing connection request to the equipment to be tested so as to establish VPN connection, and further verifies whether the terminal equipment can use the VPN connection for communication through the equipment to be tested. And further verifying whether the VPN function of the equipment to be tested is normal. Due to the automatic control of the test process, the requirement on testers is low, the test difficulty is low, the test efficiency is high, the test accuracy is high, the test period is short, and the labor cost required by the test is saved.
The terminal equipment can be a PC, a mobile terminal and the like.
The device to be tested can be a router, a firewall, a switch and other devices with VPN functions.
The test method provided by the invention is applied to a test equipment terminal, and an automatic test script is arranged on the test equipment so as to automatically execute the method steps of the invention.
Example one
Fig. 1 is a flowchart of a method for testing a device VPN function according to this embodiment, which is detailed as follows with reference to the accompanying drawings:
the method for testing the function of the device VPN is applied to the testing device, and the method comprises the following steps of:
step S101, establishing communication connection with a terminal device and a device to be tested, configuring a VPN function of the device to be tested, and configuring the terminal device into a VPN client.
And the test equipment establishes communication connection with the terminal equipment and the equipment to be tested. In addition, the device to be tested and the terminal device can be connected to the internet.
The invention can adopt the following connection mode: the testing equipment is a computer and is provided with two network cards, namely a network card 1 and a network card 2; the terminal equipment is a computer and is provided with two network cards, namely a network card 3 and a network card 4; the equipment to be tested is a router. The network card 1 of the test terminal is connected to the LAN port of the router, and the network card 2 is connected to the network card 3 of the terminal device; the WAN port of the router is connected to the Internet; the network card 4 of the terminal equipment is connected to the Internet; the IP and the mask of the terminal equipment and the test terminal are in the same network segment; the terminal device may not be configured with a gateway and DNS. The above are merely examples of devices and connections that may be used with the present invention.
And the test equipment configures the VPN function of the equipment to be tested so as to enable the equipment to be tested to provide a preset VPN server function, and configures the terminal equipment into a VPN client.
Specifically, the test device calls a command to set a VPN function of the device to be tested, and a protocol used by the VPN function can be selected during setting.
Optionally, the VPN function of the device under test is configured to use PPTP protocol or L2TP protocol.
The test equipment can also configure parameters such as server address, account number, password and the like of the VPN server of the equipment to be tested.
The test device can be connected to the terminal device through a Telnet protocol, and a VPN client is established on the terminal device, and the VPN client and the VPN server use a common protocol, such as a PPTP protocol or an L2TP protocol. The VPN client may connect to the aforementioned VPN server using preset parameters.
Step S102, the terminal device is controlled to send a dial-up connection request to the device to be tested so as to establish VPN connection.
The dialing connection request comprises parameters for connecting the VPN server, and the parameters can comprise preset server addresses, account numbers and passwords.
Specifically, the test device controls the terminal device to send a dial-up connection request to the device to be tested, so as to establish a VPN connection.
Step S103, verifying whether the terminal equipment can use the VPN connection to communicate through the equipment to be tested.
And the test terminal judges whether the VPN function of the equipment to be tested is normal or not by verifying whether the terminal equipment can use the VPN connection to carry out normal communication through the equipment to be tested.
The verifying may include: acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment, and judging whether the VPN connection is established successfully or not according to the feedback information; acquiring a VPN address from the terminal equipment; judging whether the VPN address is a preset address or not; controlling the terminal device to invoke a ping command to verify whether the terminal device is capable of communicating using the VPN connection.
The method for testing the VPN function of the equipment automatically controls the terminal equipment and the equipment to be tested through the test equipment, configures the VPN function of the equipment to be tested, configures the terminal equipment into a VPN client, further controls the terminal equipment to send a dialing connection request to the equipment to be tested so as to establish VPN connection, and further verifies whether the terminal equipment can use the VPN connection for communication through the equipment to be tested. And further verifying whether the VPN function of the equipment to be tested is normal. The testing method provided by the invention has the advantages of low requirement on testing personnel, low testing difficulty, high testing efficiency, high testing accuracy and short testing period, and saves the labor cost required by testing.
Example two
Fig. 2 is a flowchart of a method for testing a device VPN function according to this embodiment, which is detailed as follows with reference to the accompanying drawings:
step S201, establishing a communication connection with a terminal device and a device to be tested, configuring a VPN function of the device to be tested, and configuring the terminal device as a VPN client.
Step S202, the terminal device is controlled to send a dial-up connection request to the device to be tested so as to establish VPN connection.
Step S203, obtaining feedback information of the dial-up connection request sent by the device to be tested from the terminal device, and determining whether the VPN connection is established successfully according to the feedback information.
When a VPN client on the terminal equipment sends a dial-up connection request to a VPN server on the equipment to be tested, the equipment to be tested returns feedback information of the dial-up connection request, and whether VPN connection is established successfully or not can be judged according to the feedback information.
Step S204, if the VPN connection is successfully established, acquiring a VPN address from the terminal equipment, and judging whether the VPN address is a preset address.
After the terminal device and the device to be tested establish the VPN connection, the VPN server of the device to be tested allocates a VPN address to the terminal device. The VPN address can be judged to be a preset address so as to judge whether normal communication can be carried out through the VPN connection.
Step S205, if the VPN address is a preset address, controlling the terminal device to call a ping command to verify whether the terminal device can use the VPN connection for communication.
Specifically, if the VPN address is a preset address, the test terminal controls the terminal device to call a ping command to verify whether the terminal device can use the VPN connection for communication.
Specifically, the test terminal calls a ping command of the terminal device and sends a ping packet to a preset IP address to determine whether the terminal device can use the VPN connection for normal communication. The preset IP address is the IP address of the external network.
In this embodiment, it is verified whether the terminal device can communicate using the VPN function of the device to be tested in multiple ways, so that the accuracy of the test is improved.
EXAMPLE III
Fig. 3 is a block diagram of a device for testing a VPN function of a device according to this embodiment; the following is detailed in conjunction with the drawings:
the apparatus 30 for testing a device VPN function comprises:
the configuration module 31 is configured to establish communication connection with a terminal device and a device to be tested, configure a VPN function of the device to be tested, and configure the terminal device as a VPN client;
a connection establishing module 32, configured to control the terminal device to send a dial-up connection request to the device to be tested, so as to establish a VPN connection;
a verification module 33, configured to verify whether the terminal device can use the VPN connection to perform communication through the device to be tested.
Optionally, the verification module 33 comprises:
the first judgment submodule is used for acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment and judging whether the VPN connection is established successfully or not according to the feedback information;
a second judgment submodule, configured to, when the VPN connection is successfully established, acquire a VPN address from the terminal device, and judge whether the VPN address is a preset address;
and the verification submodule is used for controlling the terminal equipment to call a ping command to verify whether the terminal equipment can use the VPN connection for communication when the VPN address is a preset address.
Optionally, the VPN function of the device under test is configured to use PPTP protocol or L2TP protocol.
Optionally, the apparatus 30 for testing VPN function of a device further includes:
and the data storage module is used for storing test data and terminating the test process when the VPN connection is determined to be unsuccessfully established, the VPN address is determined not to be a preset address or the terminal equipment can not use the VPN connection for communication according to the feedback information.
The apparatus 30 for testing VPN function of device provided in this embodiment is applied to a method embodiment one and a method
In the second embodiment, details refer to corresponding method embodiments, which are not described herein again.
Example four
Fig. 4 shows a block diagram of a test apparatus provided in this embodiment, and for convenience of explanation, only the relevant parts to this embodiment are shown. The testing device 40 may be a computer, and includes the apparatus 30 for testing VPN function of a device according to the third embodiment, where the apparatus 30 for testing VPN function of a device includes: configuration module 31, connection establishment module 32, verification module 33.
The configuration module 31 is configured to establish communication connection with a terminal device and a device to be tested, configure a VPN function of the device to be tested, and configure the terminal device as a VPN client;
a connection establishing module 32, configured to control the terminal device to send a dial-up connection request to the device to be tested, so as to establish a VPN connection;
a verification module 33, configured to verify whether the terminal device can use the VPN connection to perform communication through the device to be tested.
Optionally, the verification module 33 comprises:
the first judgment submodule is used for acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment and judging whether the VPN connection is established successfully or not according to the feedback information;
a second judgment submodule, configured to, when the VPN connection is successfully established, acquire a VPN address from the terminal device, and judge whether the VPN address is a preset address;
and the verification submodule is used for controlling the terminal equipment to call a ping command to verify whether the terminal equipment can use the VPN connection for communication when the VPN address is a preset address.
Optionally, the VPN function of the device under test is configured to use PPTP protocol or L2TP protocol.
Optionally, the apparatus 30 for testing VPN function of a device further includes:
and the data storage module is used for storing test data and terminating the test process when the VPN connection is determined to be unsuccessfully established, the VPN address is determined not to be a preset address or the terminal equipment can not use the VPN connection for communication according to the feedback information.
The test device 40 provided in this embodiment is applied to the first method embodiment and the second method embodiment, and for details, reference is made to the corresponding method embodiments, which are not described herein again.
EXAMPLE five
Fig. 5 shows a block diagram of a system for testing a device VPN function according to this embodiment, where the system for testing a device VPN function includes: a test device 51, and a terminal device 52 and a device under test 53 connected to the test device. In the system, the testing device 51 may configure the terminal device 52 as a VPN client, configure the device to be tested 53 as a VPN server, and further control the VPN client on the terminal device 52 to communicate with the VPN server on the device to be tested 53, so as to achieve the purpose of testing the VPN function on the device to be tested 53.
Specifically, the test device 51 is configured to automatically perform the following steps: establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested, and configuring the terminal equipment into a VPN client; controlling the terminal equipment to send a dial-up connection request to the equipment to be tested so as to establish VPN connection; and verifying whether the terminal equipment can use the VPN connection for communication through the equipment to be tested.
Optionally, the testing device 51 is further configured to obtain, from the terminal device, feedback information of the dial-up connection request sent by the device to be tested, and determine whether the VPN connection is established successfully according to the feedback information; if the VPN connection is successfully established, acquiring a VPN address from the terminal equipment, and judging whether the VPN address is a preset address or not; and if the VPN address is a preset address, controlling the terminal equipment to call a ping command so as to verify whether the terminal equipment can use the VPN connection for communication.
Optionally, the VPN function of the device under test is configured to use PPTP protocol or L2TP protocol.
Optionally, the testing device 51 is further configured to store the testing data and terminate the testing process when it is determined that the VPN connection is not successfully established, it is determined that the VPN address is not a preset address, or the terminal device cannot use the VPN connection for communication according to the feedback information.
The system for testing a VPN function of a device provided in this embodiment is applied to the first method embodiment and the second method embodiment, and for details, reference is made to the corresponding method embodiments, and details are not described here again.
It is to be understood that the method steps involved in the present invention are not in the exact order of execution and that all changes that can be envisioned and do not affect the performance of the functions are intended to be within the scope of the present invention.
In the embodiments provided in this application, it should be understood that the methods and systems described are illustrative and that variations may be made in the actual implementation by adaptation.
In addition, specific names of the functional units or modules are only used for distinguishing one functional unit from another, and are not used for the protection scope of the present invention.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.

Claims (9)

1. A method for testing VPN functionality of a device, applied to a testing device, the method comprising the following steps performed automatically:
establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested, and configuring the terminal equipment into a VPN client; the equipment to be tested is a router;
controlling the terminal equipment to send a dial-up connection request to the equipment to be tested so as to establish VPN connection;
verifying whether the terminal equipment can use the VPN connection for communication through the equipment to be tested;
verifying whether the terminal device can communicate using the VPN connection through the device under test includes:
acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment, and judging whether the VPN connection is established successfully or not according to the feedback information;
if the VPN connection is successfully established, acquiring a VPN address from the terminal equipment, and judging whether the VPN address is a preset address or not;
and if the VPN address is a preset address, controlling the terminal equipment to call a ping command so as to verify whether the terminal equipment can use the VPN connection for communication.
2. The method of testing device VPN functionality according to claim 1, characterised in that the VPN functionality of the device under test is configured to use PPTP protocol or L2TP protocol.
3. The method of claim 2, wherein when it is determined from the feedback information that the VPN connection is not successfully established, that the VPN address is not a preset address, or that the terminal device is not able to communicate using the VPN connection, storing test data and terminating the test procedure.
4. An apparatus for testing device VPN functionality according to any of the claims 1-3, applied to a testing device, comprising:
the system comprises a configuration module, a VPN client and a server, wherein the configuration module is used for establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested and configuring the terminal equipment into a VPN client;
the connection establishing module is used for controlling the terminal equipment to send a dialing connection request to the equipment to be tested so as to establish VPN connection;
and the verification module is used for verifying whether the terminal equipment can use the VPN connection to communicate through the equipment to be tested.
5. The apparatus for testing device VPN functionality according to claim 4, wherein the validation module comprises:
the first judgment submodule is used for acquiring feedback information of the dial-up connection request sent by the equipment to be tested from the terminal equipment and judging whether the VPN connection is established successfully or not according to the feedback information;
a second judgment submodule, configured to, when the VPN connection is successfully established, acquire a VPN address from the terminal device, and judge whether the VPN address is a preset address;
and the verification submodule is used for controlling the terminal equipment to call a ping command to verify whether the terminal equipment can use the VPN connection for communication when the VPN address is a preset address.
6. The apparatus for testing device VPN functionality according to claim 4, wherein said device under test VPN functionality is configured to use PPTP protocol or L2TP protocol.
7. The apparatus for testing device VPN functionality according to claim 5, further comprising:
and the data storage module is used for storing test data and terminating the test process when the VPN connection is determined to be unsuccessfully established, the VPN address is determined not to be a preset address or the terminal equipment can not use the VPN connection for communication according to the feedback information.
8. A test device based on the method of testing device VPN functionality according to any of the claims 1-3, characterised in that it comprises: means for testing device VPN functionality according to any of the claims 4-7.
9. A system for testing device VPN functionality according to the method for testing device VPN functionality of any of the claims 1-3, characterised in that it comprises: the device comprises a test device, a terminal device and a device to be tested, wherein the terminal device and the device to be tested are connected with the test device;
the test equipment is used for automatically executing the following steps: establishing communication connection with terminal equipment and equipment to be tested, configuring the VPN function of the equipment to be tested, and configuring the terminal equipment into a VPN client; controlling the terminal equipment to send a dial-up connection request to the equipment to be tested so as to establish VPN connection; and verifying whether the terminal equipment can use the VPN connection for communication through the equipment to be tested.
CN201810304595.8A 2018-04-08 2018-04-08 Method, device and system for testing VPN function of equipment and test equipment Active CN108306792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810304595.8A CN108306792B (en) 2018-04-08 2018-04-08 Method, device and system for testing VPN function of equipment and test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810304595.8A CN108306792B (en) 2018-04-08 2018-04-08 Method, device and system for testing VPN function of equipment and test equipment

Publications (2)

Publication Number Publication Date
CN108306792A CN108306792A (en) 2018-07-20
CN108306792B true CN108306792B (en) 2021-12-07

Family

ID=62847145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810304595.8A Active CN108306792B (en) 2018-04-08 2018-04-08 Method, device and system for testing VPN function of equipment and test equipment

Country Status (1)

Country Link
CN (1) CN108306792B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117692377B (en) * 2024-01-31 2024-05-14 鹏城实验室 VPN verification test method, device and equipment for network target range and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431447A (en) * 2008-11-26 2009-05-13 福建星网锐捷网络有限公司 Method and apparatus for testing capacity and performance of virtual special network server
US7664043B1 (en) * 2004-07-01 2010-02-16 At&T Corp. Method and apparatus for performing reachability testing within the context of customer virtual private networks
CN102106115A (en) * 2008-07-22 2011-06-22 西门子工业公司 The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7664043B1 (en) * 2004-07-01 2010-02-16 At&T Corp. Method and apparatus for performing reachability testing within the context of customer virtual private networks
CN102106115A (en) * 2008-07-22 2011-06-22 西门子工业公司 The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling
CN101431447A (en) * 2008-11-26 2009-05-13 福建星网锐捷网络有限公司 Method and apparatus for testing capacity and performance of virtual special network server

Also Published As

Publication number Publication date
CN108306792A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
US9258308B1 (en) Point to multi-point connections
US8893260B2 (en) Secure remote access public communication environment
US7657011B1 (en) Lawful intercept trigger support within service provider networks
US7542572B2 (en) Method for securely and automatically configuring access points
EP1885082A1 (en) Policy based VPN configuration for firewall/VPN security gateway applicance
CN104506670B (en) Establish method, equipment and the system of network game connection
US20050125697A1 (en) Device for checking firewall policy
CA2723660C (en) System to configure and manage routers through wireless communication
EP2482523A2 (en) Managing network components using USB keys
CN106878135B (en) Connection method and device
JP2005515549A (en) Network configuration management
US20160006820A1 (en) Encrypted VPN Connection
US20050257039A1 (en) Virtual private network configuration system and method
CN111385180B (en) Communication tunnel construction method, device, equipment and medium
JP5107247B2 (en) Automatic deployment, maintenance, and information logging of custom access point names in packet-based mobile cellular networks
CN113595847B (en) Remote access method, system, device and medium
CN108306792B (en) Method, device and system for testing VPN function of equipment and test equipment
CN109788528B (en) Access point and method and system for opening internet access service thereof
WO2017084322A1 (en) Router-based network access control method and system, and related device
JP3746782B2 (en) Network system
CN109905402B (en) SSO login method and device based on SSL VPN
Cisco Configuring TACACS+
Cisco Configuring the Access VPN to Work with Remote AAA
Cisco Configuring the Access VPN to Work with Local AAA
Cisco Configuring RADIUS

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190418

Address after: 201616 No. 3666 Sixian Road, Songjiang District, Shanghai

Applicant after: Shanghai Feixun Data Communication Technology Co., Ltd.

Address before: 610100 125 Longquan Street Park Road, Longquanyi District, Chengdu, Sichuan.

Applicant before: Sichuan fixun Information Technology Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201118

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211123

Address after: Room C12, 16th floor, building 2, Xihuan Plaza, courtyard 1, Xiwai street, Xicheng District, Beijing 100044 (Desheng Park)

Applicant after: Beijing Xinda Huanyu Security Network Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant