We are now common to use CVS as a tool for teamwork, which is convenient to manage, but in the case of project or development team, use CVS to be installed on the public network, otherwise it will not be used, if some temporary items, or When the server is inconvenient to manage, it is slightly inconvenient. In this way, the virtual networking is considered, it is convenient for the release of the CVS server. Here, the CVS service and the client are mixed, the external network mixed online method.
The virtual network of virtual networks I have contacted is mainly two kinds of VNN and peanut shells, and there are Softether, Microsoft VPN, but comparison, VNN and peanut shells have a big advantage:
1. No need to build a server: VNN and peanut shells open free servers for ordinary users, and do not need to build a dedicated server. 2. The client program is small, and the resources are small. 3. It is all domestic software, there is better technical support. 4. Use the platform mainly Win2k, slightly lack of foot.
VNN and peanut shells are platforms that provide end-to-end transparent communication. Communication transparency can ignore NAT devices regardless of the machine in the intranet or external network. No need to consider NAT penetration.
VNN is not specifically introduced here (www.vnn.cn is the official website, you can download and install and instructions above). After the VNN is installed, it will establish a virtual network card. After free registration and login, it will generate virtual internal inside. The IP address, which can communicate with a machine that has a VNN client in the off-site and runs and obtains virtual IP, just like local internal networks, so the CVS server and the client are running VNN at the same time. the goal of. However, the VNN is inadequate because the IP is randomly allocated because the VNN login is random, so after the disconnection, it is necessary to manually resume the connection, and the IP address will change, which requires broadcast to tell the client, not very convenient.
In order to overcome the above shortcomings, the peanut shell is introduced below, and its communication mechanism and Vnn are the purpose of building a virtual internal network to achieve communication, but the benefit of the hull (www.oray.net) is that it can register a free domain name. The free domain name and the local peanut client are hook communication. The free domain names are hung on the VICP.NET. The communication can be transferred to the corresponding machine that starts the peanut shell through the secondary resolution of VICP.NET. The other benefits of shell is that the external network is connected to the disconnection and reinlinking, so as long as the communication of the external network is normal, the CVS client in all local networks can be carried out by the domain name and the local peanuts. Communication, and other clients do not need to install additional software.
This allows the CVS server as a public network server by installing a peanut shell for a CVS server located in the intranet.