OpenVZ Forum


Home » General » Support » PPTP in Container - Kernel 2.6.32
Re: PPTP in Container - Kernel 2.6.32 [message #44153 is a reply to message #41387] Tue, 22 November 2011 06:29 Go to previous messageGo to previous message
Rene is currently offline  Rene
Messages: 40
Registered: September 2006
Member
I just followed the wiki article from the OP and was able to get the gibberish output shown in the end, using the 2.6.32-042stab039.11 kernel (latest stable at this time), so I would think that part ought to work now.

According to the same article, from here on it should be like installing PPTP in a standalone server, so for next step I followed the description in http://www.anindya.com/installing-configuring-pptp-vpn-rhel- centos/.

Everything goes fine until I add the line
iptables -t nat -A POSTROUTING -o venet0 -j MASQUERADE
(eth0 changed to venet0)

but this throw an error "iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)"

# insmod ipt_MASQUERADE
insmod: can't read 'ipt_MASQUERADE': No such file or directory

Installing a VPN server on a VE ought to be a pretty routine issue, yet this forum is full of unanswered questions about how to set this up. Would it perhaps be possible to create/update an up-to-date wiki page explaining how to set this up with the current kernels once and for all.

[Updated on: Tue, 22 November 2011 07:01]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to download through venet0 on host
Next Topic: IP outgoing connections goes through host IP not VE - mail refuses to work
Goto Forum:
  


Current Time: Sun Aug 24 21:50:33 GMT 2025

Total time taken to generate the page: 0.07172 seconds