ADSL dial-up solution for dynamic IP VPN solution
Summary:Wireless bridging for long-distance networking is currently one of the popular technologies. Under the combination of high-power wireless bridges and…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
Wireless bridging for long-distance networking is currently one of the popular technologies. Under the combination of high-power wireless bridges and high gain directional antennas, the transmission span may reach up to 50 kilometers. But there is an important prerequisite for this, which is that the directional antenna should be able to "look at each other" without any obstruction in between. Nowadays, there are numerous high-rise buildings in the city, and it is uncertain which day. Even if visible now, the abrupt buildings will block the line of sight, and this wireless bridging solution cannot be guaranteed.
Option 1: Wired
For a distance of 12 kilometers, wired solutions can only use single-mode fiber optic cables, which is even more labor-intensive, time-consuming, and expensive. You don't even need to think about it.
Scheme II: Internet+VPN
The Internet can be said to be a public wide area network. Many telecom operators have established long-distance Internet that extends in all directions, which makes it possible for user enterprises to use the Internet of telecom companies to realize the networking of their headquarters and branches. Especially because broadband access to the Internet is now popular and the cost is relatively low, it greatly facilitates the networking requirements of the head office and branch offices of user enterprises. As long as users choose the appropriate technology, they can achieve long-distance networking between the local area networks of the headquarters and subsidiaries.
The suitable technology is VPN (Virtual Private Network). VPN uses special "tunnel technology" to connect two computers located in different places on the Internet, just like a local area network. This can avoid the expensive networking method of using telecommunications companies' wide area network dedicated lines, as long as broadband access is available for networking. Therefore, it is technically feasible and economically feasible to use broadband access to the Internet for corporate networking.
From the above analysis, users can conclude that the best solution for enterprise networking at present is to realize the long-distance interconnection of enterprise organizations through Internet+VPN. But in practical implementation, users need to use appropriate technology to achieve it. These technologies will include: dynamic IP, VPN, ADSL, etc.
Implementing VPN on Dynamic IP
Traditional Internet based VPN solutions require fixed IP addresses on both sides of the VPN server and client, or at least fixed IP addresses on the server side and dynamic IP addresses on the client side. This increases the burden on small businesses and limits the application of VPNs. This is what makes people think of the possibility of using dynamic IP to implement VPN networking. When there is a demand, new solutions will emerge, which limits financial resources. That is, "VPN solutions based on dynamic IP broadband access". Small businesses with limited VPN networking can also build VPN networking. VPN servers do not have fixed IP addresses. In order for VPN clients to locate VPN servers, the IP address obtained from dialing each time is different. This requires solving the IP addressing problem of VPN servers, that is, how to associate dynamic IP addresses with fixed servers and clients, and "solidify" their relationship. This is the key technology for implementing VPN based on dynamic IP.
For VPN application environments with dynamic IP, VPN device manufacturers provide two representative technical solutions, namely DDNS dynamic VPN and directory service dynamic VPN.
1. DDNS Dynamic VPN
Anyone who has played peanut shell knows the dynamic domain name resolution technology (DDNS), user name and password. Users can apply for a secondary domain name from the service provider that provides DDNS services, and set this static domain name, user name, password, etc. on the device that uses dynamic IP to access the Internet (broadband router, VPN firewall, machine). When dial-up access is made, users on the Internet can access this device through this domain name, regardless of the dynamic IP it gets at that time.
VPN devices (including server-side and client-side) need to establish VPN communication through DDNS services and fill in the domain names they have applied for. They also need to install DDNS client software, username, and password on the VPN server and VPN client. When their dynamic IP addresses change, the DDNS client software will automatically update its current IP address through verification on the DDNS server. Therefore, when it is required to establish a VPN virtual private network connection, when the VPN client initiates a call to the VPN server, DDNS will resolve the domain name of the VPN server to its current legal IP address, thus establishing a VPN tunnel connection.
At present, most VPN devices claiming to be able to use dynamic IP to establish VPN in the market are based on DDNS technology to achieve the "solidification" of dynamic IP, which is also the most common dynamic VPN solution and the cheapest VPN solution. These VPN devices themselves are gateway devices that perform NAT functions for broadband shared access. They are often integrated with client software from a third-party DDNS service provider within the device. The FVL328 VPN firewall, a VPN series product from Netgear, integrates the domain company's Peanut Shell DDNS client.
VPN based on DDNS is simple and easy to implement. If the DDNS service provider stops or the service is unstable, but the reliability cannot be guaranteed, it will cause the user's VPN to fail to operate.
2. Dynamic VPN for directory service
The directory service technology forms a directory server cluster nationwide through directory servers distributed in telecommunications data centers across the country. These servers store the hardware information of each VPN device. When the VPN device is powered on and dials up to access the Internet, the user information, the dynamic IP obtained by it will be automatically sent to the directory server and stored in the database of the directory server. The same is true for VPN devices in the same group that it needs to establish a VPN. At the same time, the VPN device will periodically download the IP addresses of other members of its own group to the local, so that a VPN can be established based on their current public network IP.
Taking the directory service technology of Shanghai Bingfeng Internet as an example, first make PPPOE dialing. When the VPN device of Bingfeng is started and the dialing is successful, the currently used public network IP can be obtained. Then automatically search the list of its built-in directory servers. After the unique priority path algorithm of Bingfeng, exchange data with the designated directory server. The data mainly includes three parts: identity authentication of the VPN device, IP address registration and IP address download
(1) Identity authentication: Firstly, the directory server verifies the identity of the VPN device by comparing the group information, node information, license information, and hardware feature information submitted by the VPN device with the device information database built into the directory server. If the comparison is consistent, the authentication is passed.
(2) IP address registration: After confirming the identity, assuming that other devices in the same group as the VPN device have also completed identity verification and address submission, the IP address of the VPN device is recorded in the address library of the directory server. Therefore, the current IP addresses of all VPN terminals are saved in the address library of the directory server.
(3) IP address download: Download the IP addresses of other devices in the same group as this VPN device, so that this VPN device knows the IP addresses of all other devices in its group.
After that, the directory server will notify other devices in the same group of the change. Every time there is a change in the IP address of the device, the directory server will be notified. This ensures that the latest IP list is always kept on each device. At the same time, the synchronization of the IP address ensures that the VPN Internet will automatically heal in 10 seconds at most when an exception occurs.
At present, there are two VPN devices produced by domestic companies that use directory service technology to realize VPN based on dynamic IP. They are Shanghai Bingfeng Internet Co., Ltd. (for example, R5000H VPN Router quotation: 27000 yuan) and Shenzhen Xunbo Information Technology Co., Ltd. (for example, NG500 VPN gateway).
This type of IP address exchange through directory servers can effectively avoid the problems of unreliable and long recovery time caused by the use of dynamic domain name services.
VPN solution for dial-up ADSL
At present, the dynamic VPN scheme based on dial-up ADSL is universal and representative. The broadband Internet access through ADSL virtual dialing is popular and adopted by domestic enterprise users because of its relatively high speed and economy. This scheme is also more practical. Therefore, this article only introduces the dynamic VPN based on dial-up ADSL.
At present, there is even only one, and some enterprise branch offices have fewer PCs. If hardware VPN equipment is invested in a single machine, it is undoubtedly unnecessary for some users, and the investment will also bring a burden. These users also need to access the headquarters to achieve remote system interconnection. Just like the question raised by the netizen at the beginning of this article, we need a remote PC to connect to the headquarters. This demand also requires products from manufacturers of VPN client software, where users can choose to provide VPN hardware devices as the VPN server and client software as the VPN client. Below, users will recommend the combination of the two dynamic IP VPN implementation solutions mentioned above, both of which are "VPN devices+VPN client software" combinations.
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

