Windows 10 L2TP/IPSec 防火墙配置

This guide will walk you through how to open your Windows 10 firewall to allow the L2TP/IPSec protocol. For more about the L2TP/IPsec firewall ports you can read up on this L2TP VPN ports to allow in your firewall technet article.

Are you getting VPN connection errors?

If you are having trouble getting your VPN connection to work, traffic is most likely getting blocked by your local windows 10 firewall or your router. L2TP is a great option for creating a VPN because most operating systems support it automatically, but the downside is that firewalls and networks might block this protocol, and you will need a guide like this to help you allow this VPN traffic.

Before making these changes, you can test wether the firewall is blocking the connection simply by disabling it and then re-trying to connect. If the connection failed with the firewall disabled, then most likely you will need to adjust your router, if you need help with your router leave a message in the comments and we will try to respond. If the connection succeeds after the firewall is disabled, then these steps below will show you how to open the L2TP ports so that you can use VPN with your firewall enabled.

Steps for opening L2TP/IPSec VPN ports on Windows 10 firewall

  1. From your Windows desktop locate the Windows taskbar Search Box in the lower left and click in the Search Box.
  2. In the Search Box, type 'Windows Firewall' and click the top result 'Windows Firewall with Advanced Security'.
    That will locate and launch the settings control panel link called 'Windows Firewall with Advanced Security' where we will enter the new L2TP/IPSec ports as a new inbound rule.
  3. Click 'Inbound Rules'.
  4. Click 'New Rule...'.
  5. Select 'Port' and click 'Next'.
  6. Select 'UDP' and Enter '50, 500, 4500' in the 'Specific local ports' field and click 'Next'.
  7. Select 'Allow the connection if it is secure' and click 'Next'.
  8. Leave user fields blank and click 'Next'.
  9. Leave all the checkboxes checked and click 'Next'.
  10. Enter 'MagnumVPN L2TP Firewall Rule', or any name you want and click 'Finish'.
  11. All done! You should be able to connect to your VPN without your firewall blocking you. Make sure you have re-enabled your firewall if you turned it off for testing.

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值