Community discussions

MikroTik App
 
CastorTroy
newbie
Topic Author
Posts: 28
Joined: Thu Jul 31, 2008 7:52 pm

PPTP + Radius problems

Mon Sep 14, 2009 9:07 pm

Hoping to get some help. I've got a PPTP vpn setup on an RB450 (3.28). I have no problems with it using defined Secrets in the Mikrotik, but am having nothing but problems using Radius.

Initially I have been getting the error "terminating... -could not determine a remote IP address"

The default profile that the PPTP server is set to use has "Remote IP" set to the DHCP pool of "vpnpool"

I tried setting "framed-pool" in the Radius user to "vpnpool", but am now getting an error on the PC: "TCP/IP CP reported error 738: The server did not assign an address."

What am I missing?
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: PPTP + Radius problems

Tue Sep 15, 2009 12:41 am

What RADIUS server are you using? MikroTik User Manager, FreeRADIUS, or..?
I had to use "Framed-Pool" (not "framed-pool") to get this to work on my hotspot. FreeRADIUS (my version anyway) did not recognize the lower case start characters, and would not send it.
 
CastorTroy
newbie
Topic Author
Posts: 28
Joined: Thu Jul 31, 2008 7:52 pm

Re: PPTP + Radius problems

Tue Sep 15, 2009 12:41 am

steel belted radius

*to add* the attribute is set to "Framed-Pool" in the radius server
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: PPTP + Radius problems

Tue Sep 15, 2009 12:51 am

I think Steel Belted has radtest. On radius server shell
radtest user password 127.0.0.1 0 radiussecret

That is a zero following the ip address. Change user, password, and the radius secret to yours.
Does it return the "Framed-Pool" attribute with that user?
 
savage
Forum Guru
Forum Guru
Posts: 1282
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: PPTP + Radius problems

Tue Sep 15, 2009 1:47 pm

The default profile that the PPTP server is set to use has "Remote IP" set to the DHCP pool of "vpnpool"
You need to set the Local IP in the PPP Profile as well. You can't specify Local IP via Radius, only Remote IP can be a pool or via Radius.
 
CastorTroy
newbie
Topic Author
Posts: 28
Joined: Thu Jul 31, 2008 7:52 pm

Re: PPTP + Radius problems

Tue Sep 15, 2009 5:43 pm

The default profile that the PPTP server is set to use has "Remote IP" set to the DHCP pool of "vpnpool"
You need to set the Local IP in the PPP Profile as well. You can't specify Local IP via Radius, only Remote IP can be a pool or via Radius.
That did it. Thank you!