I. Introduction to Functions
PPTP is the abbreviation of "Point-to-Point Tunneling Protocol". Point-to-point tunneling is a commonly used transport protocol on the network. The so-called "tunneling" means that the data is encrypted and "packaged" before being transmitted, and then transmitted to the other party before being unpacked and decrypted. In this way, the data is transmitted in the underground tunnel as it is passed, and its contents are not seen by the outside world, so "tunnel transmission". For more detailed understanding, please refer to the relevant information. If the transfer fails, a specific diagnostic must be used to find the cause. We used the Ping command when testing network connectivity. This has been mentioned in the previous article. For PPTP diagnostics, similar commands are required. In the windows2000 Support Tools folder, you can find Pptpclnt.exe and Pptpsrv.exe, two programs, this is the tool we want, Pptpclnt.exe for the client, Pptpsrv.exe for the server. It is a group of tools that must be used in conjunction with each other.
When using the above two programs for mutual access between a remote PPTP server and a PPTP client, port 1723 must be used and support based on Type 47 protocol is required. The Type 47 protocol refers to the GRE (Generic Routing Encapsulation) protocol, so ensure that the above conditions are met before running Pptpclnt.exe and Pptpsrv.exe. In addition, pay special attention to: PPTP Ping can run on windows2000, windowsNT and windows98, but can not run on windows95!
II. Usage
This set of programs are based on the command line interface. Since the diagnosis must involve both the PPTP server and the PPTP client, when the diagnostic program is running, it is necessary to synthesize the response information and system prompt information of the server and client, and then judge the problem according to the situation. PPTP Ping can be used to test many projects of the PPTP server. Below we introduce the project classification and introduce the prompt information of both the server and the client. And the following statement is agreed: the PPTP server is at site A, and the PPTP client is at site B.
1. Test the connectivity of PPTP.
(1) Run Pptpsrv.exe on the computer at Site A.
(2) Run Pptclnt.exe on Site B, the command should indicate the server name or IP address. For example: Pptclnt.exe[[servername or IPaddress]
At this point, you can see the following tips on the server side: (The original text is English, the following is translated into Chinese)
pptpsrv
Must be sure to run pptpclnt.exe on the client side
Wait (using TCP port 1723) to connect. . . . . .
The connection to the client has been successful!
Data sent from the client:
---> abcdefghijklmnopqrstuvwxyz
Send 'Reply from server' message to the client side.
Establish a socket test based on the GRE protocol. . .
is accepting GRE packets based on Type 47 protocol. . . .
Total GRE packets received = 1
Total GRE packets received = 2
Total GRE packets received = 3
Total GRE packets received = 4
Total GRE packets received = 5
(3) Finally, the test is completed. If you need to test the PPTP connection between this server and another client, repeat the above steps.
(4) For the sake of comparison, here is also the screen prompt information on the client side when the above test is performed. (The original text is English, the following is translated into Chinese)
pptpclnt jade (jade is the server name)
Initial socket...
Find host information...< BR> has successfully received the server host information
type the information sent to the server (used to test connectivity). The characters used for sending should be less than 255. For example:
-->abcdefghijklmnopqrstuvwxyz
Successfully connect to PPTP over TCP port 1723. Now the data is being sent to the server jade. On dns.microsoft.com. . .
Wait for sending end...
Received the end of the response, the response message should be the following text:
---> Hello, there! This is a reply from the server.
Use port 1723, TCP protocol connectivity test succeeded
Close socket...
Create socket for testing GRE protocol...
(The following tips are sent to the other end )
Total GRE packets sent = 1
Total GRE packets sent = 2
Total GRE packets sent = 3
Total GRE packets sent = 4
Total GRE packets sent = 5
If the GRE package is sent to the other party, check if the other server is successfully accepted.
Close the socket
Since I wrote the first six articles, I have received letters from some friends, but everyone seems
This year, for people all over the world can be regarded as an eventful autumn, war, disease, each o
Due to differences in living habits and geography, the format of time and date varies from region to
In addition, the toolbar can also be used to place small, dynamic applications, such as image readin
Configure Windows 2008 RC1 as Vista to use
How to enable Active Directory in Windows Server 2003
Cleverly setting Windows 2000 startup item
In-depth transformation of Win2000 "location bar"
Windows Server 2008 Firewall Advanced Application
Win 2000 system memory optimization full Raiders
"Resurrection" old network card under Win2000
Windows 2000 Active Directory and installation configuration articles
How does the win7 system adjust the resolution of the computer to the best?
WinRAR file encryption tutorial
CF soldier training camp starts refining new recruits to the package
How to hide icons in Win7 system?
QQ computer housekeeper and Lu master temperature test, who is allowed?
HyperSnap-DX Practical Tips Five
How to achieve Win8.1 to enter safe mode by F8
Issues related to XP system virus protection enabled
Win10 can't install new fonts. What should I do if the installation fails?