Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PPTP tunnels with kernel 2.6
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
hasues
n00b
n00b


Joined: 04 Mar 2004
Posts: 54

PostPosted: Sat Mar 04, 2006 2:52 pm    Post subject: Outdated Reply with quote

I believe these methods are outdated with newer kernels as they incclude an mppe module, and if you patch pppd with mppe-mppc support, I believe you disable pppd's support for that newer kernel module and enable it for the old. However, if I do not add the mppe-mppc support (the USE flag), then I can't get it to work. I guess the process needs to be revised again.

Haz
_________________
Lettuce, Pickles, hold the mayo!
Back to top
View user's profile Send private message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Tue Mar 07, 2006 12:12 am    Post subject: Re: Outdated Reply with quote

hasues wrote:
I believe these methods are outdated with newer kernels as they incclude an mppe module, and if you patch pppd with mppe-mppc support, I believe you disable pppd's support for that newer kernel module and enable it for the old. However, if I do not add the mppe-mppc support (the USE flag), then I can't get it to work. I guess the process needs to be revised again.

Haz


this http://gentoo-wiki.com/HOWTO_PPP_Dial_In_Server says:
Quote:
Note: The patch for kernel 2.6.13 applies to 2.6.14 without errors. Linux 2.6.15 by has MPPE included by default. MPPC is however not part of it. If anyone knows where to find a patch for MPPC, please update this.


Does pptp on Windows XP work without MPPC (Microsoft Point-to-Point Compression)?

Were it not for the difficulties of getting laptop wifi working in linux, I'd not be using Microsoft at all anymore :(
Back to top
View user's profile Send private message
saschabieler
n00b
n00b


Joined: 16 Jun 2004
Posts: 23
Location: Munich

PostPosted: Mon Mar 13, 2006 11:58 pm    Post subject: Updated tut Reply with quote

Hi there,

I liked this tutorial here, but unfortunately it's not working with kernel 2.6.15. So here we go:::

1. Against all tuts I disabled the mppe-mppc use-flag for net-dialup/ppp!!! And made my kernel 2.6.15 ready:

Code:
Cryptographic options --->
--- Cryptographic API
---   HMAC support
---   MD5 digest algorithm
<M>   SHA1 digest algorithm
<M>   SHA256 digest algorithm
<M>   SHA384 and SHA512 digest algorithms
<M>   DES and Triple DES EDE cipher algorithms
<M>   Blowfish cipher algorithm
<M>   AES cipher algorithms (i586)
<M>   ARC4 cipher algorithm
<M>   Deflate compression algorithm

Device Drivers --->
Networking support --->
<*>   PPP (point-to-point protocol) support
[*]     PPP multilink support (EXPERIMENTAL)
[*]     PPP filtering
<M>     PPP support for async serial ports
<M>     PPP support for sync tty ports
<M>     PPP Deflate compression
<M>     PPP BSD-Compress compression
<M>     PPP MPPE compression (encryption) (EXPERIMENTAL)
<M>     PPP over Ethernet (EXPERIMENTAL)
<M>     PPP over ATM



2. Edited /etc/portage/package.keywords

Code:
net-dialup/ppp ~x86
net-dialup/pptpd ~x86


3. Emerged net-dialup/ppp-2.4.3-r11 and net-dialup/pptpd-1.3.0, because I use windbind to authenticate.

4. Edited /etc/ppp/options.pptpd

Code:
plugin winbind.so
ntlm_auth-helper "/usr/bin/ntlm_auth --helper-protocol=ntlm-server-1 --require-membership-of=SID_of_your_VPN_access_group"

noauth
lock
proxyarp
ms-dns ip_of_your_nameserver
ms-wins ip_of_your_wins_server

refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
require-mppe
nobsdcomp
nologfd
defaultroute
#debug

logfile /var/log/pptpd.log


5. To be sure all neccessary modules will be loaded at boot time added the following to /etc/modules.autoload.d/kernel-2.6

Code:
ppp_generic
ppp_deflate
ppp_mppe


6. Don't forget to open the relevant tcp-port 1723 and protocol GRE (47) to your ppp+ (ppp*) interfaces

Hope this will help and saves ur nights with ur girls... ;-)

Greetings

Sascha
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3999

PostPosted: Tue Mar 02, 2010 4:31 am    Post subject: Reply with quote

Hi,
You've saved my life :D
Thanks 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum