Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: PPP
PostPosted: Mon Oct 06, 2003 9:33 pm 
Offline
Newbie

Joined: Mon Oct 06, 2003 9:02 pm
Posts: 3
I notice PPP isn't available in the kernels, or at least, the kernel provided with the debian install.

Is there some way to add it? It is required for some types of VPN software (like PPTP)


Top
   
 Post subject:
PostPosted: Tue Oct 14, 2003 1:34 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
The latest kernel (2.4.22-linode10-5um) has PPP compiled back in.

Thanks,
-Chris


Top
   
 Post subject:
PostPosted: Tue Nov 04, 2003 7:17 pm 
Offline
Senior Newbie

Joined: Tue Nov 04, 2003 12:32 am
Posts: 12
Did you ever get pptp going? I can't for the life of me, clients keep disconnecting with error 619.


Top
   
 Post subject:
PostPosted: Wed Jan 07, 2004 8:12 am 
Offline

Joined: Tue Dec 16, 2003 8:41 am
Posts: 1
Hi,

I tried the kernel version that was specified but pptp still couldn't start ppp because "couldn't set tty to PPP discipline". I think this idicates that ppp doesn't support tty ports in the kernel.

Is there a kernel that allows the pptp sessions.


Top
   
 Post subject:
PostPosted: Wed Jan 07, 2004 4:39 pm 
Offline
Senior Member

Joined: Sat Jun 28, 2003 12:02 am
Posts: 66
Website: http://kenny.aust.in
mike wrote:
Did you ever get pptp going? I can't for the life of me, clients keep disconnecting with error 619.

I'm not sure of the exact message returned from Windows, but I know a problem I often have is if the user is behind a firewall (could be a personal firewall on the pc as well) that does not allow the GRE protocol, or of course if your VPN server's firewall has it blocked.
Code:
iptables -A INPUT -p 47 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT

Most modern soho cable/dsl/etc routers handle this by default, but I have seen some older (a few years) that had to have a new firmware installed, also some hotels and "custom" firewall setups don't allow it. I've seen a soho routers just freak out and quit allowing it, just had to reboot the router to allow GRE through again. And many (maybe all?) NAT setups that only have one external IP won't allow/freak out/just don't work when multiple internal clients try connecting to the same external PPTP VPN.
What does your server logs say? The error messages provided by ms clients are so useless I usually don't even listen to the user read them.

andyc wrote:
I tried the kernel version that was specified but pptp still couldn't start ppp because "couldn't set tty to PPP discipline". I think this idicates that ppp doesn't support tty ports in the kernel.

Is there a kernel that allows the pptp sessions.

What version of ppp are you using?

Just some notes from my experiences setting up vpn servers using poptop:
- you won't be able to use encryption (mppe) without compiling your kernel for it.
- windows likes to provide a domain with the username, if your server logs show "domain\\user" there is a patch to ppp that will strip out the domain section.

There were a lot of little tweaks and patches I had to learn to get a good linux PPTP server setup. But since I've gotten it working (chapv2, encryption, stripping the domain out of usernames, and some others I've probably forgot) I haven't seen a problem that wasn't windows (win9x requires updates) or some silly firewall in three years of using it.

Kenny


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group