Menu Close

Ros软路由创建VPN

一般架设软路由的设备都是作为辅助设备使用,主要是因为硬件设备的扩展局限以及可靠性,软路由系统本身已经很强大几乎涵盖了普通甚至专业路由器的所有功能并扩展到了防火墙以及行为管理方面,在软路由中routerOS还是比较稳定的,下面以企业常用功能VPN配置为例进行操作说明。

1:登录ros系统(这里怎么配置登录不在本章节范围内)图中我们可以看到两个以太网接口,其中一个接口有流量转发说明在使用中。

2:下图中通过interfaces-Add New找到并配置启用自己需要的VPN服务

3:下图以L2TP VPN配置为例,我们只需要启用服务,并配置好服务名称其它选项我们如果没有特殊需求可以不用配置

4:配置L2TPserver的具体参数,下图红框中配置文字的每一项都是必填项。

5:配置VPN用户连接进路由器后需要获取的地址,配置一个VPN地址池。

6:配置VPN用户连接进路由器后的策略,这个可以对通过VPN连接进来的用户做各种限制策略,建立一个策略组,所有接进来的用户都将继承此组的策略。

7:对于L2TP协议的VPN都必要配置加密,最简单的是IPsec加密配置共享秘钥,因为在终端连接时也是必须要输入的选项,在ROS路由器上两个是分开的要单独配置,如下图:

8:配置需要连接VPN的用户名密码,一般只需要配置一下几项用户就可以连接进来了。

23 Comments

  1. nike sb

    Aw, this was a very nice post. In thought I want to put in writing like this moreover ?taking time and actual effort to make a very good article?but what can I say?I procrastinate alot and in no way seem to get something done.

  2. kevin durant

    Good post. I learn something more difficult on completely different blogs everyday. It’s going to all the time be stimulating to learn content from other writers and practice somewhat something from their store. I抎 desire to make use of some with the content on my weblog whether or not you don抰 mind. Natually I抣l offer you a hyperlink on your internet blog. Thanks for sharing.

  3. jordan 6

    Nice post. I learn one thing more challenging on completely different blogs everyday. It would all the time be stimulating to learn content material from other writers and follow somewhat something from their store. I抎 choose to use some with the content on my weblog whether or not you don抰 mind. Natually I抣l offer you a hyperlink in your web blog. Thanks for sharing.

  4. goyard bags

    Nice post. I be taught one thing more challenging on different blogs everyday. It can at all times be stimulating to learn content material from different writers and apply a bit of something from their store. I抎 desire to make use of some with the content material on my weblog whether you don抰 mind. Natually I抣l provide you with a hyperlink in your internet blog. Thanks for sharing.

  5. yeezy

    Can I simply say what a reduction to seek out someone who truly knows what theyre speaking about on the internet. You undoubtedly know easy methods to convey an issue to mild and make it important. Extra folks need to read this and understand this aspect of the story. I cant believe youre no more fashionable because you definitely have the gift.

  6. ggdb

    After study just a few of the weblog posts in your web site now, and I actually like your way of blogging. I bookmarked it to my bookmark web site list and might be checking back soon. Pls take a look at my website as nicely and let me know what you think.

  7. chrome hearts outlet

    I wanted to jot down a quick word to say thanks to you for all of the stunning recommendations you are giving at this website. My time consuming internet investigation has now been recognized with extremely good ideas to go over with my friends and classmates. I ‘d mention that many of us website visitors actually are extremely endowed to exist in a remarkable community with so many marvellous individuals with beneficial secrets. I feel rather grateful to have encountered your website and look forward to really more fabulous minutes reading here. Thank you once again for all the details.

  8. bape

    I not to mention my pals happened to be reading through the good helpful tips on your web page and so before long came up with a terrible suspicion I never thanked the website owner for those secrets. Most of the people came thrilled to study all of them and have actually been making the most of these things. I appreciate you for truly being indeed accommodating and then for going for this kind of decent ideas most people are really desperate to know about. Our own honest apologies for not expressing gratitude to sooner.

  9. golden goose outlet

    I抦 impressed, I need to say. Really not often do I encounter a blog that抯 each educative and entertaining, and let me inform you, you might have hit the nail on the head. Your idea is excellent; the difficulty is one thing that not enough people are talking intelligently about. I am very joyful that I stumbled throughout this in my search for one thing relating to this.

  10. off white jordan

    I must show my thanks to the writer just for bailing me out of such a scenario. Right after looking through the world-wide-web and finding proposals which were not helpful, I assumed my life was well over. Being alive without the answers to the difficulties you’ve fixed by way of your good posting is a crucial case, and the ones that could have in a wrong way damaged my career if I had not encountered your blog. Your expertise and kindness in playing with every item was valuable. I’m not sure what I would’ve done if I had not discovered such a point like this. I can also now relish my future. Thanks for your time so much for the reliable and effective guide. I won’t be reluctant to propose your blog post to any individual who wants and needs guidelines about this subject matter.

  11. supreme new york

    I needed to write you one tiny remark so as to give thanks yet again over the pleasing knowledge you have documented at this time. This is simply open-handed with you to make extensively all that a few individuals might have made available for an e-book to make some money on their own, most notably given that you could possibly have tried it if you ever decided. Those suggestions additionally acted as the great way to fully grasp many people have similar desire just as my very own to see a little more regarding this issue. I know there are some more pleasurable situations in the future for individuals that browse through your website.

  12. off white t shirt

    I must show appreciation to this writer just for rescuing me from such a issue. Right after researching throughout the online world and meeting things that were not beneficial, I assumed my entire life was gone. Being alive minus the approaches to the difficulties you have solved by means of your blog post is a crucial case, as well as the ones that might have negatively damaged my entire career if I had not come across your web page. Your good competence and kindness in controlling the whole thing was invaluable. I’m not sure what I would’ve done if I had not come upon such a step like this. It’s possible to at this point look ahead to my future. Thanks a lot so much for this specialized and sensible guide. I will not hesitate to refer your web site to any individual who will need support on this matter.

  13. jordan

    I just wanted to construct a quick comment to be able to say thanks to you for the stunning recommendations you are giving at this site. My prolonged internet search has at the end of the day been paid with really good concept to go over with my neighbours. I would declare that we visitors are truly fortunate to be in a perfect place with very many perfect professionals with valuable tips and hints. I feel somewhat grateful to have used your webpage and look forward to so many more brilliant times reading here. Thanks once more for all the details.

  14. supreme

    I simply needed to thank you so much all over again. I do not know the things that I could possibly have created without the actual recommendations documented by you relating to such a theme. It was a scary circumstance for me personally, nevertheless seeing a new specialized form you handled the issue forced me to weep over contentment. I will be thankful for this guidance and in addition trust you are aware of a great job you happen to be providing training the mediocre ones by way of your web site. Most likely you’ve never encountered any of us.

  15. golden goose francy

    Can I simply say what a relief to search out somebody who actually is aware of what theyre speaking about on the internet. You positively know learn how to bring a problem to mild and make it important. Extra individuals need to learn this and understand this facet of the story. I cant consider youre no more in style since you definitely have the gift.

  16. bape

    Thank you a lot for providing individuals with such a terrific opportunity to read articles and blog posts from here. It’s usually very pleasing plus full of amusement for me and my office friends to search your website nearly thrice in one week to see the new tips you have. And lastly, I’m so actually fascinated for the great creative concepts you serve. Certain 1 ideas in this post are rather the finest we have all had.

  17. jordan 11

    A lot of thanks for each of your efforts on this blog. My aunt really likes going through investigation and it’s really easy to see why. We hear all concerning the dynamic manner you convey effective tricks through the website and in addition inspire participation from other individuals about this concern so our child is always understanding a great deal. Enjoy the remaining portion of the year. You are conducting a really good job.

发表回复