PPTP VPN сервер в 3 конфигурационных файлах

Тема конечно избита. Но я все равно расскажу как установить pptp демон =) Команда для установки сервера будет варьироваться в зависимости от того, какой дистрибутив Linux вы используйте. В моем случае это Ubuntu.

sudo apt-get install pptpd

Открываем /etc/pptpd.conf  и прописываем:

option /etc/ppp/pptpd-options
logwtmp
localip 11.10.10.219
remoteip 11.10.10.220-240

Открываем  /etc/ppp/pptpd-options:

name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
ms-dns 8.8.8.8
nodefaultroute
debug
lock
nobsdcomp

Открываем

username pptpd mypassword *

Запускаем pptpd:

sudo service pptpd restart

Настроим правила iptables:

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

В случае если ваш VPN сервер не подключен напрямую к интернету, вам скорее всего понадобится открыть порт TCP-1723 и «протокол 47», он же GRE, на локальный IP адрес VPN сервера.

Настройка закончена.

96 комментариев к “PPTP VPN сервер в 3 конфигурационных файлах

  1. Awesome site you have here but I was wanting to know if you knew of any message boards that cover the same topics talked about here? I’d really like to be a part of community where I can get responses from other experienced individuals that share the same interest. If you have any suggestions, please let me know. Thanks!

  2. I?m impressed, I need to say. Truly rarely do I experience a blog site that?s both instructional as well as amusing, and let me tell you, you have actually struck the nail on the head. Your concept is superior; the issue is something that insufficient individuals are speaking intelligently around. I am very delighted that I stumbled across this in my look for something connecting to this.

  3. I am typically to blog writing as well as i really appreciate your material. The post has actually peaks my rate of interest. I am mosting likely to bookmark your website as well as maintain checking for new information.

  4. Aw, this was a really good post. In suggestion I would love to put in writing similar to this additionally? requiring time and also actual effort to make a very good article? however what can I say? I procrastinate alot as well as by no means appear to obtain something done.

  5. Oh my goodness! an incredible post man. Thank you Nonetheless I am experiencing concern with ur rss. Don?t know why Incapable to register for it. Exists anybody obtaining the same rss issue? Any person who understands kindly react. Thnkx

  6. The following time I check out a blog site, I wish that it doesn’t disappoint me as long as this set. I mean, I understand it was my option to review, however I actually thought youd have something interesting to claim. All I listen to is a lot of grumbling regarding something that you could fix if you werent as well active searching for interest.

  7. Hey! I understand this is somewhat off-topic but I had to ask. Does building a well-established website like yours require a massive amount work? I am brand new to running a blog but I do write in my journal daily. I’d like to start a blog so I can share my personal experience and feelings online. Please let me know if you have any kind of ideas or tips for brand new aspiring bloggers. Appreciate it!

  8. It’s a shame you don’t have a donate button! I’d without a doubt donate to this fantastic blog! I guess for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to brand new updates and will share this blog with my Facebook group. Chat soon!

  9. Woah! I’m really loving the template/theme of this blog. It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance” between usability and appearance. I must say you’ve done a awesome job with this. Also, the blog loads very fast for me on Internet explorer. Excellent Blog!

  10. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  11. Hello outstanding blog! Does running a blog like this require a great deal of work? I have virtually no knowledge of coding however I was hoping to start my own blog in the near future. Anyhow, if you have any suggestions or tips for new blog owners please share. I know this is off subject however I simply needed to ask. Thank you!

  12. Can I just say what a relief to get an individual who really knows what theyre talking about on the net. You unquestionably know how you can bring an problem to light and make it important. A lot more individuals need to read this and realize this side of the story. I cant believe youre not additional common simply because you definitely have the gift.

  13. I was questioning occasion you ever considered altering layout , design from the website? Its really correctly created; I enjoy what youve obtained to mention. But possibly it is possible to small far more with respect to content so males could interact with it greater. Youve obtained a terrible total lots of text for only getting a single or two images. Maybe you’ll be capable of area out greater?

  14. Can I simply claim what an alleviation to locate someone who in fact understands what theyre discussing on the net. You most definitely know exactly how to bring a problem to light as well as make it vital. More individuals need to read this as well as recognize this side of the story. I angle think youre not extra prominent since you most definitely have the gift.

  15. Hi! I just wanted to ask if you ever have any issues with hackers? My last blog (wordpress) was hacked and I ended up losing months of hard work due to no data backup. Do you have any methods to prevent hackers?

  16. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  17. Aw, this was a really wonderful post. In suggestion I want to put in creating like this in addition? requiring time and also actual initiative to make a very good post? but what can I say? I postpone alot as well as by no means seem to obtain something done.

  18. The next time I check out a blog, I really hope that it doesn’t dissatisfy me as much as this. I mean, I know it was my selection to check out, yet I in fact assumed youd have something interesting to claim. All I listen to is a lot of yawping regarding something that you might fix if you werent also hectic trying to find interest.

  19. My spouse and I absolutely love your blog and find a lot of your post’s to be exactly what I’m looking for. Does one offer guest writers to write content available for you? I wouldn’t mind publishing a post or elaborating on some of the subjects you write concerning here. Again, awesome website!

  20. Hey, I think your blog might be having browser compatibility issues. When I look at your blog site in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, very good blog!

  21. Have you ever thought about including a little bit more than just your articles? I mean, what you say is valuable and everything. But think about if you added some great pictures or video clips to give your posts more, “pop”! Your content is excellent but with pics and videos, this site could undeniably be one of the greatest in its field. Wonderful blog!

  22. I am really enjoying the theme/design of your website. Do you ever run into any web browser compatibility issues? A small number of my blog readers have complained about my website not operating correctly in Explorer but looks great in Safari. Do you have any advice to help fix this problem?

  23. Hola! I’ve been following your website for some time now and finally got the bravery to go ahead and give you a shout out from New Caney Texas! Just wanted to say keep up the fantastic work!

  24. Does your blog have a contact page? I’m having problems locating it but, I’d like to send you an e-mail. I’ve got some recommendations for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it improve over time.

  25. Hey there, I think your blog might be having browser compatibility issues. When I look at your blog in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, wonderful blog!

  26. Woah! I’m really enjoying the template/theme of this site. It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between superb usability and visual appeal. I must say that you’ve done a fantastic job with this. Additionally, the blog loads super fast for me on Internet explorer. Exceptional Blog!

  27. Hello great blog! Does running a blog similar to this require a large amount of work? I’ve absolutely no knowledge of computer programming however I was hoping to start my own blog in the near future. Anyway, if you have any ideas or tips for new blog owners please share. I understand this is off subject but I simply had to ask. Thanks!

  28. I am curious to find out what blog system you’re utilizing? I’m having some minor security issues with my latest blog and I’d like to find something more safe. Do you have any recommendations?

  29. Hmm it looks like your website ate my first comment (it was extremely long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog. I too am an aspiring blog blogger but I’m still new to everything. Do you have any tips and hints for beginner blog writers? I’d certainly appreciate it.

  30. With havin so much written content do you ever run into any issues of plagorism or copyright infringement? My website has a lot of completely unique content I’ve either written myself or outsourced but it seems a lot of it is popping it up all over the internet without my permission. Do you know any methods to help prevent content from being stolen? I’d truly appreciate it.

  31. Hey there would you mind stating which blog platform you’re working with? I’m planning to start my own blog soon but I’m having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique. P.S My apologies for being off-topic but I had to ask!

  32. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  33. I just want to tell you that I am very new to weblog and absolutely loved this blog. Probably I’m planning to bookmark your blog post . You surely have fantastic writings. Thanks for revealing your blog site.

  34. Amazing blog! Do you have any recommendations for aspiring writers? I’m hoping to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m totally overwhelmed .. Any recommendations? Thanks a lot!

  35. Great paintings! That is the kind of information that are meant to be shared around the net. Shame on Google for not positioning this submit upper! Come on over and consult with my web site . Thanks =)

  36. A large percentage of of what you articulate happens to be supprisingly precise and that makes me ponder why I hadn’t looked at this in this light previously. Your article truly did switch the light on for me personally as far as this issue goes. But at this time there is actually one particular issue I am not really too comfy with and whilst I try to reconcile that with the actual main idea of your position, let me see what all the rest of the visitors have to point out.Very well done.

  37. Hey! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My weblog looks weird when browsing from my iphone. I’m trying to find a template or plugin that might be able to correct this issue. If you have any suggestions, please share. Appreciate it!

  38. I just want to mention I am newbie to weblog and actually savored this blog. Very likely I’m likely to bookmark your blog . You definitely come with exceptional stories. Regards for sharing with us your web site.

  39. Wonderful items from you, man. I have take into account your stuff prior to and you’re just too wonderful. I really like what you have bought right here, certainly like what you’re stating and the way in which wherein you are saying it. You are making it entertaining and you continue to take care of to keep it wise. I can’t wait to read far more from you. That is actually a terrific web site.

  40. An impressive share! I have just forwarded this onto a co-worker who was conducting a little homework on this. And he in fact bought me breakfast simply because I found it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanx for spending time to talk about this topic here on your web page.

  41. My coder is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using WordPress on a variety of websites for about a year and am concerned about switching to another platform. I have heard great things about blogengine.net. Is there a way I can transfer all my wordpress content into it? Any help would be greatly appreciated!

  42. With everything which appears to be developing within this specific subject matter, all your opinions are rather radical. On the other hand, I beg your pardon, but I can not give credence to your entire plan, all be it stimulating none the less. It seems to everyone that your remarks are not totally rationalized and in simple fact you are generally yourself not even wholly confident of your argument. In any case I did appreciate looking at it.

  43. I simply want to say I’m very new to blogging and site-building and certainly loved this page. Most likely I’m want to bookmark your site . You actually come with incredible articles. With thanks for sharing with us your blog site.

  44. Hi! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no backup. Do you have any solutions to protect against hackers?

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *