Community discussions

MikroTik App
 
jonm
newbie
Topic Author
Posts: 47
Joined: Thu Jul 01, 2004 7:49 am
Location: Indiana, USA
Contact:

PPTP Server help

Thu Dec 16, 2004 1:45 am

Hey All,

I'm trying to setup a PPTP server. I want to be able to authenticate to RADIUS. How do I set that up? I'm already using pppoe on this box and authenticating to radius just fine. I'm a little stumped on how to set this up for PPTP. PPTP ignores my current radius setup and there is no option to set my service=PPTP in (/radius). Any ideas or suggestions would be appreciated! Thanks.
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Thu Dec 16, 2004 10:44 am

the same way as pppoe. As 'service' value you should specify ppp.

Edgars
 
jonm
newbie
Topic Author
Posts: 47
Joined: Thu Jul 01, 2004 7:49 am
Location: Indiana, USA
Contact:

Thu Dec 16, 2004 5:30 pm

I've tried that with no luck. How do I set the mikrotik to use the second ppp service for pptp and not to use the first ppp that is for pppoe?
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Thu Dec 16, 2004 5:50 pm

they are all in one (ppp-kind). The same like you are using '/ppp' menu in the router. Use the same RADIUS server as for pppoe. If the same problem appears, post the following printouts - '/inter pptp-ser serv pr','/ppp aaa pr', '/ppp prof pr','/radius pr'.

Edgars
 
jonm
newbie
Topic Author
Posts: 47
Joined: Thu Jul 01, 2004 7:49 am
Location: Indiana, USA
Contact:

Thu Dec 16, 2004 5:55 pm

[admin@coreRTR1] > /ppp
[admin@coreRTR1] ppp> /inter pptp-serv
[admin@coreRTR1] interface pptp-server> print

[admin@coreRTR1] interface pptp-server> server
[admin@coreRTR1] interface pptp-server server> print
              enabled: yes
                  mtu: 1460
                  mru: 1460
       authentication: mschap2
    keepalive-timeout: disabled
      default-profile: VPN
[admin@coreRTR1] interface pptp-server server> /ppp aaa pr
        use-radius: yes
        accounting: yes
    interim-update: 15m
[admin@coreRTR1] interface pptp-server server> /radius pr
Flags: X - disabled
 #   SERVICE                    CALLED-ID               DOMAIN                  ADDRESS         SECRET
 0   ppp                        wDSL                                            205.162.25.85   
[admin@coreRTR1] interface pptp-server server>
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Thu Dec 16, 2004 6:25 pm

and '/ppp profile print'? Maybe take a look in the RADIUS server's logs. Try to run it also in debugging mode and see what kind of information is sent to the RADIUS server in the moment of authentication.

Edgars
 
jonm
newbie
Topic Author
Posts: 47
Joined: Thu Jul 01, 2004 7:49 am
Location: Indiana, USA
Contact:

Thu Dec 16, 2004 10:45 pm

I have been running my radius in debug mode. I do not receive any radius packets. However the Mikrotik log complains of a radius timeout?? That's what made me think I had a configuration issue.
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Fri Dec 17, 2004 11:40 am

make sure that IP of the RADIUS server is 205.162.25.85 and the secrets should also be equal.

Edgars
 
jonm
newbie
Topic Author
Posts: 47
Joined: Thu Jul 01, 2004 7:49 am
Location: Indiana, USA
Contact:

Fri Dec 17, 2004 4:08 pm

they are. RADIUS works flawlessly to the same pppoe server. It just doesn't work with the pptp-server, I never receive any radius requests and mikrotik logs a 'radius timeout' message.
 
edzix
Member
Member
Posts: 333
Joined: Thu Jul 01, 2004 3:01 pm
Location: Latvia

Fri Dec 17, 2004 4:14 pm

please, make a support output file (right after you are were trying to connect some pptp man) and send it to support@mikrotik.com

Edgars

Who is online

Users browsing this forum: airbytes, Majestic-12 [Bot] and 116 guests