Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vpn ppp ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
d0minus
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2005
Posts: 90
Location: Ukraine

PostPosted: Mon Oct 10, 2005 11:54 am    Post subject: vpn ppp ?? Reply with quote

Hi
I have problem with my vpn connection. I cannot connect to other side(vpn server (win server))
Linux client(kvpnc)------local_net----iptables(nat)--------internet------Win_vpn_server

/etc/ppp/peers/MyPeer

pty "pptp remote_server_ip --nolaunchpppd"
name remote_domain\\user #DOMAIN\\USERNAME
require-mschap-v2
remotename remote_vpn_server_name #??
file /etc/ppp/options.MyPeer
ipparam MyPeer #tunnel name

/etc/ppp/options.MyPeer

lock
noauth
nobsdcomp
nodeflate
mppe required,stateless
mtu 1000
mru 1000
lcp-echo-failure 10
lcp-echo-interval 10

/etc/ppp/chap-secrets

remote_domain\\user MyPeer pass *
MyPeer remote_domain\\user pass *

PC return me :
Code:
pon MyPeer debug dump logfd 2 nodetach


pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.MyPeer)
name remote_domain\\user # (from /etc/ppp/peers/MyPeer)
remotename remote_vpn_server_name # (from /etc/ppp/peers/MyPeer)

pty pptp remote_ip --nolaunchpppd # (from /etc/ppp/peers/MyPeer)
mru 1000 # (from /etc/ppp/options.MyPeer)
mtu 1000 # (from /etc/ppp/options.MyPeer)
lcp-echo-failure 10 # (from /etc/ppp/options.MyPeer)
lcp-echo-interval 10 # (from /etc/ppp/options.MyPeer)
ipparam world-link # (from /etc/ppp/peers/MyPeer)
nobsdcomp # (from /etc/ppp/options.MyPeer)
nodeflate # (from /etc/ppp/options.MyPeer)
mppe xxx # [don't know how to print value] # (from /etc/ppp/options.MyPeer)
using channel 21
Using interface ppp0
Connect: ppp0 <--> /dev/pts/11
sent [LCP ConfReq id=0x1 <mru 1000> <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <auth chap MS-v2> <magic 0x313e69a2> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [local:72.b5.8e.b2.12.fa.45.ec.a9.a2.71.f2.fe.cd.45.9d.00.00.00.00]> < 17 04 03 59>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MS-v2> <callback CBCP> <mrru 1614> < 17 04 03 59>]
rcvd [LCP ConfNak id=0x1 <mru 1500>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
rcvd [LCP TermReq id=0x1 "1>i\37777777642\000<\37777777715t\000\000\003\37777777627"]
sent [LCP TermAck id=0x1]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf58b0f4> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Waiting for 1 child processes...
script pptp remote_ip --nolaunchpppd, pid 13857
Script pptp remote_ip --nolaunchpppd finished (pid 13857), status = 0x0


Any ideas
Back to top
View user's profile Send private message
mayday147
l33t
l33t


Joined: 22 Mar 2004
Posts: 825
Location: Bucharest, Romania

PostPosted: Mon Oct 10, 2005 2:47 pm    Post subject: Reply with quote

Try my configs:

Code:

charlie mayday # cat /etc/ppp/options.pptp
lock
noauth
nobsdcomp
nodeflate
debug dump logfd 2
#nodetach
mru 1490
mtu 1490
#updetach
persist
#nodefaultroute


Code:

charlie mayday # cat /etc/ppp/peers/backspace
pty "pptp 192.168.0.1 --nolaunchpppd"
name mayday
remotename zeus
file /etc/ppp/options.pptp
ipparam backspace


Code:
charlie mayday # cat /etc/ppp/chap-secrets
mayday zeus mayday *

_________________
gentoo.ro
Back to top
View user's profile Send private message
d0minus
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2005
Posts: 90
Location: Ukraine

PostPosted: Wed Oct 12, 2005 10:18 am    Post subject: Reply with quote

What is wrong with mppe ?
I used this Howto http://gentoo-wiki.com/HOWTO_PPTP_VPN_client_%28Microsoft-compatible_with_mppe%29

Code:
strings `which pppd`|grep -i mppe


set_mppe_enc_types
mppe_recv_key
mppe_keys_set
mppe_send_key
mppe_set_keys
request MPPE encryption
+mppe
nomppe
don't allow MPPE encryption
-mppe
MPPE disabled, closing LCP
MPPE disabled by peer
MPPC/MPPE
MPPE disabled
mppe %s %s %s %s %s %s
Too many MPPE errors
You require MPPE but you have switched off all encryption key lengths.
invalid parameter '%s' for mppe option
MPPE required but peer negotiation failed
MPPE required, but kernel has no support.
MPPE required but not available
MPPE required, but keys are not available. Possible plugin problem?
MPPE required, but MS-CHAP[v2] auth not performed.
MPPE required, but auth done in both directions.
MPPE required but not available in kernel
MPPE required but cannot negotiate MPPE key length
Cannot negotiate MPPE key length
Too many MPPE errors, closing LCP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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