hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : VPS Tutorials : Enable PPTP VPN in OpenVz container
Reply

VPS Tutorials Tutorials related to VPS.
Forum Jump

Enable PPTP VPN in OpenVz container

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-18-2012, 01:07 PM
whrss whrss is offline
Premium Member
 
Join Date: May 2009
Location: SLASH ROOT
Posts: 554
Thumbs up

Enable PPTP VPN in OpenVz container


This post describes how you can enable PPTP VPN in a Virtual Machine inside a Hardware Node. Hereafter, we will be indicating Hardware Node as HN and Virtual Node as VE

Only the steps are mentioned below.

1. Make sure devel package of the OpenVZ kernel is installed in HN.

2. Make sure TUN/TAP is enabled for the VE and PPTP VPN is installed and running.

3. Load all the PPP modules in HN

HN#
Code:
modprobe tun

modprobe ppp-compress-18

modprobe ppp_mppe

modprobe ppp_deflate

modprobe ppp_async

modprobe pppoatm

modprobe ppp_generic
4. Stop the VE

Code:
# vzctl stop {VEID}

5. From HN, run the below commands:


HN#

Code:
# vzctl set {VEID} --features ppp:on --save

# vzctl start {VEID}

# vzctl set {VEID} --devices c:108:0:rw --save

# vzctl exec {VEID} mknod /dev/ppp c 108 0

# vzctl exec {VEID} chmod 600 /dev/ppp

6. Login to VE and see if the 'pppd' command works.

VE#

Code:
# /usr/sbin/pppd
If you see some garbage values, it means it is enabled correctly.

Reply With Quote


Sponsored Links
  #2  
Old 05-27-2012, 03:25 AM
hostgreater hostgreater is offline
WHT Addict
 
Join Date: Apr 2012
Posts: 136
Thanks for sharing best tutorial

Reply With Quote
  #3  
Old 08-12-2012, 04:53 AM
Maounique Maounique is offline
Web Hosting Guru
 
Join Date: Jan 2006
Posts: 274
Here is another tutorial, with pictures and step-by-step configuration, using a script to setup pptp for the enduser.
It is for solusvm VPSes because has pictures from there. It also asumes the enduser can setup tun/tap ppp from there (not diabled on HN or in solusVM)
http://board.prometeus.net/viewtopic...21d16e7c550e4f
M

Reply With Quote
Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTP VPN sa144 Web Hosting Lounge 0 08-03-2011 10:10 PM
Need help on PPTP VPN setup on OpenVZ. trying for 48hr + still no success techwacky VPS Hosting 6 02-03-2011 06:36 PM
PPTP VPN / SSL VPN MikeDVB Colocation and Data Centers 17 12-01-2010 11:32 PM
For VPN GURUS:::Strange PPTP VPN issue. Some sites do not open jolly Hosting Security and Technology 10 07-10-2010 09:20 PM

Related posts from TheWhir.com
Title Type Date Posted
50ecdc0d-0280-4d4c-8a0a-188745a799bf Listing 2013-03-05 18:26:55
50ecdc0d-9a2c-4254-86e6-189345a799bf Listing 2013-03-05 18:26:55
50ecdc0c-efe8-4d2a-85ac-187545a799bf Listing 2013-03-05 18:26:55
cPanel Conference 2012: Virtualize All the Things with Nate Custer Web Hosting News 2012-11-12 13:54:36
Web Host Certified Hosting Launches New Linux VPS Plans Web Hosting News 2012-08-22 09:08:38


Tags
enable pptp vpn, openvz, pptp, pptp vpn, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?