In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the example analysis of windows automatic dialing V-P-N server, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.
I. demand background
For unknown reasons, the network that the enterprise applies for now generally does not assign a public network independent ip, but the company also has branches, so the question is, how to uniformly access internal servers, such as file sharing? At this time, we need * services, that is, virtual private networks. Since enterprises do not have independent public network ip, nor can they publish * services (general operators have filtering, but they do not recognize it, because after layers of outsourcing, they do not know whose problems), so build or rent * * services, dial * * on the company server, dial and route on the exit router of the branch. In this way, the assigned computer can access the central server through the * * line, or the client can directly dial *. The key is that the server sometimes restarts due to network maintenance or automatic updates, so it needs to be able to dial automatically within a certain period of time after restarting and disconnecting.
II. Solutions
Search Google, found that in addition to the built-in dialing program has disconnected automatic redial, there is a built-in small command that can also dial after the system is rebooted, the command is rasdial.exe
To restart automatic dialing on the system using this command, there are two prerequisites
First, you need to establish a * connection on the server.
Second, write an auto-pull script and add it to the task schedule
The script name Auto***.bat reads as follows:
@ echo offrasdial.exe myhome ftpuser password
Where myhome is a * connection name as shown in the figure:
This is followed by a space between the user name and password; the above is my example, changing the connection name and user name password according to my actual situation.
3. Auto-unplug configuration
Find "Task Scheduler"-- "create basic tasks"-- > enter "auto***"-- > trigger-- > New-- > start the task "when scheduling" in the control panel, as shown in the figure:
-- > Action-- > New-- add the previously written script, as shown below:
OK, enter the administrator password to complete!
After completion, you will see that there is a state called auto in the task plan that is ready, and the trigger repeats indefinitely every 10 minutes from the creation time. In this way, no matter whether the system is rebooted and re-logged in, and regardless of whether the dialing number is disconnected or not, it will be unplugged every 10 minutes (you can adjust it a little shorter). The connection status is connected, and the execution has no effect. If it is disconnected, this can be rebooted successfully; you can restart the computer, and it will take effect automatically without logging in!
After reading the above, do you have any further understanding of the example analysis of the windows auto-dial V-P-N server? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.