当前位置:网站首页>2008R2 precautions for configuring L2TP pre shared key VPN
2008R2 precautions for configuring L2TP pre shared key VPN
2022-06-24 10:52:00 【shawyang】
Reference resources https://me.jinchuang.org/archives/665.html To configure l2tp vpn, If this link fails , Please refer to this attachment .
matters needing attention :
In Alibaba cloud and Tencent cloud vpc End of configuration l2tp Pre shared key vpn after , relevant 3 A service is running , At first, mobile phones can be connected , But after restarting the server , The mobile phone can't be connected , Tencent cloud and Alibaba cloud VPC All have this phenomenon , Tencent cloud basic network is normal . What's the difference ? The basic network is static IP Than private networks DHCP Get network fast .
Restart what happened ?
The process is rather tortuous , Several times after I just restarted the server, I couldn't connect it for many times , Just sit still and go to sleep , It will be normal to connect again after waking up , I wonder if I was too anxious to connect after restarting , Would it be better to wait a few minutes and then continue ? Later, I configured automatic login observation in the server ( When I turn on this way vnc You don't have to enter a password to log in , You can take the opportunity to see the startup of relevant services just started ), I found that when the machine was just restarted , relevant 3 Services did not start , The service did not start until the system entered the desktop for oneortwo minutes , also 3 Services have 1 One is manual ( After entering the desktop 3 None of the services started , After a while 2 About minutes ,3 All services are started , It has nothing to do with the manual mode service ), Then I put that 1 The change from manual to automatic is still the same as before : After restarting the machine, you can't hurry , It will take a few minutes , Otherwise you will have to wait for hours if you fail , Or restart the phone to connect it immediately . Later, we re review3 A service , Find the one displayed in the server manager 2 An automated service startmode It is actually a delayed start ,
The final will be 3 A service person startmode Change to automatic ( Non delayed start ) Restart the observation , Found that after restart 3 The service soon became normal , The previous phenomenon never happened again .
From the server vpn The log shows that there is no sign of server rejection , Log location :C:\Windows\system32\LogFiles The one in the catalog .log Log No 5 The number in the column is only 1、 2 、4 Did not see 3( The server refused )
Refer to Microsoft documentation for relevant log parsing :https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc771748(v=ws.10)?redirectedfrom=MSDN
summary : The key is to put l2tp vpn Involved 3 The startup mode settings of the services are automatically started , About that 3 Service and virtual network segment routing , It also applies to other versions of windows server. in addition , The machine purchased by Tencent cloud public image is initialized with all vpc Route of network segment , If you match vpn Virtual network segment is in it , It will affect vpn Business ( such as vpn The connection was established successfully , however ping no vpn Virtual network segment IP), At this time, you need to delete the default route of the virtual network segment , May refer to https://cloud.tencent.com/developer/article/1893670 Inside 【 Question 1 】vpn Show connected , But I can't visit vpn Virtual segment , It is because of the problem of routing To deal with it , Two other cases are recorded in this document
【 Question two 】 even vpn It's a mistake , The client registry needs to be adjusted
【 Question 3 】vpn Connected to 、 Virtual segment devices can also access , But I can't get on the Internet
solve Windows Connect PPTP/L2TP Unable to connect to the Internet when Internet The problem of
https://www.tintsoft.com/articles/676.html
边栏推荐
- Niuke-top101-bm28
- JMeter interface test tool foundation - use badboy to record JMeter script
- Fais ce que tu veux.
- Programmers spend most of their time not writing code, but...
- 機械臂速成小指南(二):機械臂的應用
- 解决DBeaver SQL Client 连接phoenix查询超时
- What is a voice assistant? What will the future voice assistant look like?
- [Qianfan 618 countdown!] IAAs operation and maintenance special preferential activities
- What you must know about distributed systems -cap
- Web项目部署
猜你喜欢

Thread pool execution process

栈题目:函数的独占时间

【数据分析数据源】全国各省市行政区坐标(包含边界坐标点和中心坐标点)

The difference between the sleep () method and the wait () method of a thread

Simple pricelist style code

Stack Title: exclusive time of function

喜歡就去行動

程序员大部分时间不是写代码,而是。。。

26.删除有序数组的重复项

Hill sorting graphic explanation + code implementation
随机推荐
[IEEE publication] 2022 International Conference on service robots (iwosr 2022)
喜欢就去行动
机械臂速成小指南(二):机械臂的应用
Quick completion guide for mechanical arm (zero): main contents and analysis methods of the guide
A method of generating non repeated numbers in nodejs
Besides technology, programmers also need to master a skill - self marketing ability
2022 the most complete and detailed JMeter interface test tutorial and detailed interface test process in the whole network - JMeter test plan component (thread < user >)
什么是递归?
Thread pool execution process
When the data security law comes, how can enterprises prepare for a rainy day? Tencent security has something to say
How to make a good video? What are the operation methods?
Cookie 、Session、localstorage、Sessionstorage的区别
[data analysis data source] coordinates of provinces, cities and administrative regions across the country (including boundary coordinate points and central coordinate points)
【IEEE】自然语言处理与信息检索国际会议(ECNLPIR 2022)
Stack Title: exclusive time of function
charles抓包工具使用教程
[IEEE publication] International Conference on natural language processing and information retrieval in 2022 (ecnlpir 2022)
Detailed explanation of SQL Sever basic data types
【JS逆向分享】某个网站社区信息
Quick completion guide for manipulator (III): mechanical structure of manipulator