Indice   FAQ  
Iscriviti  Login
Indice RouterOS RouterOS

Problema VPN fra Mikrotik e Mac Mini Server

Tutto su questo sistema operativo linux based - Configurazioni, dubbi, problematiche &....

Problema VPN fra Mikrotik e Mac Mini Server

Messaggioda praiadofrances » ven 24 feb 2012, 21:18

Ciao a tutti

Ho reato un server VPN pptp/l2pt su un server mac mini lion 10.7.3
sul router una connessione VPN pptp client

[admin@MikroTik] > interface pptp-client print
Flags: X - disabled, R - running
0 name="pptp-out1" max-mtu=1460 max-mru=1460 mrru=disabled
connect-to=xxx.xxx.xxx.xxx user="frances_vpn" password="xxxxxx"
profile=default-encryption add-default-route=yes dial-on-demand=no
allow=pap,chap,mschap1,mschap2

[admin@MikroTik] > ppp profile print
Flags: * - default

2 * name="default-encryption" local-address=192.168.1.227
remote-address=192.168.1.226 remote-ipv6-prefix-pool=(unknown)
use-ipv6=no use-mpls=default use-compression=default
use-vj-compression=default use-encryption=yes only-one=default
change-tcp-mss=yes

[admin@MikroTik] > ppp secret print
Flags: X - disabled
# NAME SERVICE CALLER-ID PASSWORD PROFILE REMOTE-ADDRES
0 pptp pptp xxxxxxx default-encryption

il log del server è il seguente
2012-02-24 19:53:27 CET Incoming call... Address given to client = 192.168.1.226
Fri Feb 24 19:53:27 2012 : Directory Services Authentication plugin initialized
Fri Feb 24 19:53:27 2012 : Directory Services Authorization plugin initialized
Fri Feb 24 19:53:27 2012 : PPTP incoming call in progress from 'xxx.xxx.xxx.xxx'…
Fri Feb 24 19:53:28 2012 : PPTP connection established.
Fri Feb 24 19:53:28 2012 : using link 0
Fri Feb 24 19:53:28 2012 : Using interface ppp0
Fri Feb 24 19:53:28 2012 : Connect: ppp0 <--> socket[34:17]
Fri Feb 24 19:53:28 2012 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x2f85a5b> <pcomp> <accomp>]
Fri Feb 24 19:53:28 2012 : rcvd [LCP ConfReq id=0x4f <mru 1460> <magic 0x6a24f5>]
Fri Feb 24 19:53:28 2012 : lcp_reqci: returning CONFACK.
Fri Feb 24 19:53:28 2012 : sent [LCP ConfAck id=0x4f <mru 1460> <magic 0x6a24f5>]
Fri Feb 24 19:53:28 2012 : rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
Fri Feb 24 19:53:28 2012 : sent [LCP ConfReq id=0x2 <auth chap MS-v2> <magic 0x2f85a5b>]
Fri Feb 24 19:53:28 2012 : rcvd [LCP ConfAck id=0x2 <auth chap MS-v2> <magic 0x2f85a5b>]
Fri Feb 24 19:53:28 2012 : sent [LCP EchoReq id=0x0 magic=0x2f85a5b]
Fri Feb 24 19:53:28 2012 : sent [CHAP Challenge id=0xc0 <77285c2e2a392c691a7b237b224d343b>, name = "macserver.xxxxxxx.com"]
Fri Feb 24 19:53:29 2012 : rcvd [LCP EchoRep id=0x0 magic=0x6a24f5]
Fri Feb 24 19:53:29 2012 : rcvd [CHAP Response id=0xc0 <341bd8f8947f5fa45aa5bb320936b053000000000000000021f3925f7e7b458e5af2127d647b091e97e90090f068181400>, name = "frances_vpn"]
Fri Feb 24 19:53:29 2012 : DSAuth plugin: unsupported authen authority: recved ShadowHash;HASHLIST:<SALTED-SHA512,SMB-NT,CRAM-MD5,RECOVERABLE>, want ApplePasswordServer
Fri Feb 24 19:53:29 2012 : sent [CHAP Success id=0xc0 "S=A726F17D520831835FAAB4298E720ADB39EE8CAF M=Access granted"]
Fri Feb 24 19:53:29 2012 : CHAP peer authentication succeeded for frances_vpn
Fri Feb 24 19:53:29 2012 : DSAccessControl plugin: User 'frances_vpn' authorized for access
Fri Feb 24 19:53:29 2012 : MPPE required, but keys are not available. Possible plugin problem?
Fri Feb 24 19:53:29 2012 : sent [LCP TermReq id=0x3 "MPPE required but not available"]
Fri Feb 24 19:53:29 2012 : Connection terminated.
Fri Feb 24 19:53:29 2012 : Connect time 0.1 minutes.
Fri Feb 24 19:53:29 2012 : Sent 0 bytes, received 0 bytes.
Fri Feb 24 19:53:29 2012 : PPTP disconnecting...

La cosa strana è che se mi connetto al server mac con un client windows7 da lo stesso errore se mi connetto da un client mac appare l'errore ma la connessione si attiva.

Qualcuno ha mai usato una connessione del genere con un mac mini Apple ?

Ciao
praiadofrances
Mikrotik Curious User
Mikrotik Curious User
 
Messaggi: 1
Iscritto il: ven 24 feb 2012, 11:46

Re: Problema VPN fra Mikrotik e Mac Mini Server

Messaggioda piciccia » lun 27 feb 2012, 13:50

E' errato,
se tu sei client, è il MAC-mini che ti deve dare l'IP non tu.....
Quindi togli il profile ed il secret.
Comunque prima leggi il manuale sul wiki, è molto chiaro:
http://wiki.mikrotik.com/wiki/Manual:In ... PTP_Client

Saluti
C.
piciccia
MikroTIK Guru
MikroTIK Guru
 
Messaggi: 1026
Iscritto il: mar 1 giu 2010, 14:57



Torna a RouterOS

Chi c’è in linea

Visitano il forum: Nessuno e 4 ospiti