Community discussions

MikroTik App
 
jtroybailey
Member Candidate
Member Candidate
Topic Author
Posts: 176
Joined: Thu Oct 07, 2010 10:24 am
Location: Brisbane, Australia

PPTP Auth with Radius

Sun Jul 31, 2011 8:01 am

Hi All,

I have radius with mysql and daloradius setup. It is authenticating OK. Through the the issue is using PPTP, is there a way to have the radius server hand out subnet/gateway/dns? I am able to use an IP pool in routeros but the client just get an ip, nothing else. if radius can't do it how should you do it?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: PPTP Auth with Radius

Sun Jul 31, 2011 8:14 am

PPTP is point to point, so there isn't any need for a subnet. Whether or not the server should be added as the gateway of last resort is up to the client, you don't need to hand out a gateway router - the client knows the IP of the router, and can elect to use it as a default gateway. If the client is a Mikrotik device that's done in the configuration of the PPTP client:
http://wiki.mikrotik.com/wiki/Manual:In ... Properties
add-default-route (yes | no; Default: no) Whether to add PPTP remote address as a default route.
There are no provisions for DNS, so the client will have to statically configure that.
 
jtroybailey
Member Candidate
Member Candidate
Topic Author
Posts: 176
Joined: Thu Oct 07, 2010 10:24 am
Location: Brisbane, Australia

Re: PPTP Auth with Radius

Sun Jul 31, 2011 9:04 am

This is with windows clients. The client gets an IP address and is setup to use the remote network as the gateway. Whilst using RADIUS i am not able to contact the router, using local auth i am.

In RADIUS i use 'Framed-Pool' and specify the name of an IP pool on the router.

Is there an obvious reason as to why no traffic passes?