Is MPPE supported in FreeBSD?

2005-06-16 Thread Mark Jayson Alvarez
Hi,
  I'm trying to connect my lan to a remote lan
through
pptp/vpn.

I followed the instructions on
http://www.freebsddiary.org/pptp.php and created a
ppp.conf like this:

UPVPN:
 set authname "myusername"
 set authkey "mypassword"
 set timeout 0
set ifaddr 0 0
 add 10.40.23.0/24 HISADDR
 alias enable yes


Now when I lauched pptp:
# pptp "vpnserver" UPVPN

I got these errors:
 
anon warn[open_inetsock:pptp_callmgr.c:312]:
connect:
Operation timed out
anon fatal[callmgr_main:pptp_callmgr.c:121]: Could
not
open control connection t
o "vpnserver's ip"
anon fatal[open_callmgr:pptp.c:379]: Call manager
exited with error 256


Looking at /var/messages, I can see something like
this, but I don't know if it has something to do
with
the error.

Jun 16 13:04:14 tmc pptp[20182]: anon
log[main:pptp.c:219]: The synchronous pptp option is
NOT activated


There is this site: 

http://www.mreriksson.net/howtos/netbsd-pptp-client/
which discusses how to set up pptpclient on NetBSD
and
there he mentioned about installing the PPPD-MPPE
package which I did't do in my FreeBSD box since I
failed to find the said pacakge in /usr/ports. I
have
a slight idea that I really need to have this
installed because when I look at the properties page
of my vpn connection using a windows machine, I can
see this details:


device Name  WAN Miniport(PPTP)
Device Type  vpn
Server Type  PPP
Transports   TCP/IP
Authentication   MS CHAPv2
Encryption   MPPE 128
Compression  (none)
PPP multilinkOff
ServerIP Address 10.40.23.120
ClientIP Address 10.40.23.13


Here's my LAN setup:

LAN -->PCRouter/proxy->Cisco
Router>cloud



Private computer on LAN access Internet through a
dual
homed pcrouter/proxy server. In  this kind of setup,
is it possible that those private machine on LAN be
connected to the remote private LAN through a pptp
tunnel? I've already done this on Windows and there,
it has an option for internet sharing, and I'm
wondering if I can do the same with freebsd.

Any idea?

Thanks a lot!





 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pptp with mppe on freebsd

2005-06-15 Thread Mark Jayson Alvarez
Hi,
  I'm trying to connect my lan to a remote lan through
pptp/vpn.

I followed the instructions on
http://www.freebsddiary.org/pptp.php and created a
ppp.conf like this:

UPVPN:
 set authname "myusername"
 set authkey "mypassword"
 set timeout 0
 set ifaddr 0 0
 add 10.40.23.0/24 HISADDR
 alias enable yes


Now when I lauched pptp:
# pptp "vpnserver" UPVPN

I got these errors:

anon warn[open_inetsock:pptp_callmgr.c:312]: connect:
Operation timed out
anon fatal[callmgr_main:pptp_callmgr.c:121]: Could not
open control connection t
o "vpnserver's ip"
anon fatal[open_callmgr:pptp.c:379]: Call manager
exited with error 256


Looking at /var/messages, I can see something like
this, but I don't know if it has something to do with
the error.

Jun 16 13:04:14 tmc pptp[20182]: anon
log[main:pptp.c:219]: The synchronous pptp option is
NOT activated


There is this site: 

http://www.mreriksson.net/howtos/netbsd-pptp-client/
which discusses how to set up pptpclient on NetBSD and
there he mentioned about installing the PPPD-MPPE
package which I did't do in my FreeBSD box since I
failed to find the said pacakge in /usr/ports. I have
a slight idea that I really need to have this
installed because when I look at the properties page
of my vpn connection using a windows machine, I can
see this details:


device Name  WAN Miniport(PPTP)
Device Type  vpn
Server Type  PPP
Transports   TCP/IP
Authentication   MS CHAPv2
Encryption   MPPE 128
Compression  (none)
PPP multilinkOff
ServerIP Address 10.40.23.120
ClientIP Address 10.40.23.13


Here's my LAN setup:

LAN -->PCRouter/proxy->Cisco Router>cloud



Private computer on LAN access Internet through a dual
homed pcrouter/proxy server. In  this kind of setup,
is it possible that those private machine on LAN be
connected to the remote private LAN through a pptp
tunnel? I've already done this on Windows and there,
it has an option for internet sharing, and I'm
wondering if I can do the same with freebsd.

Any idea?

Thanks a lot!




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mppe

2004-02-13 Thread Steffen Froehlich
im trying to set up a vpn server on FreeBSD 5.2 - RELEASE. im using poptop as the 
pptpd, but i cant get users to authenticate from windows xp machines. i think its 
because i dont have ms-chap v2 running. ive read up on it, and it seems that i need to 
patch the kernel. i cant figuer out how to do this, if anyone has any ideas, please 
repond. 

thank you

steffen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with pppoed performance when configured with mppe

2004-01-15 Thread Emil Filipov
Hi,

I am trying to configure a secure pppoe server.So far it works perfectly with Windows 
clients authenticating with MSChapv2. However, if MPPE is negotiated, the client 
receives only about 1/4th(30-40 kbytes/s) of the bandwidth available while 
downloading. 
Download seem 'leapy' : it starts with high speed , then for a second or two it stops 
completely then it bursts again. I'm not quite sure why this happens, but everything 
goes back to normal when mppe is turned off. I assume that this is due to the 
re-initialised key on every 256th packet. Anybody seen that? 
I tried different key lengths for the mppe but nothing changed. I haven't tried the 
stateless encryption though, beacuse the clients reject it.

Here are the details :
FreeBSD 4.9-STABLE

pppoe:
 allow users
 enable chap
 enable pap
 enable mschap
 enable mschapv2
 enable mppe
 set mppe 40 stateful
 disable deflate pred1 utmp vjcomp ipv6cp ccp
 deny deflate pred1 utmp vjcomp ipv6cp ccp
 allow mode direct
 set mru 1492
 set mtu 1492
 set speed sync
set ifaddr 10.0.0.1 10.0.0.15-10.0.0.20
set log connect command chap lcp error alert warning


Regards,
Emil Filipov
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Is this possible: mschapv1 + mppe?

2002-11-26 Thread Dung Patrick
Hi,

I can establish mppe with mschapv1 in linux. I think FreeBSD (userland ppp) only 
support mppe + mschapv2. Is there any way to hack it to support mschapv1+mppe.

Regards,
Patrick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message