Community discussions

MUM Europe 2020
just joined
Topic Author
Posts: 4
Joined: Wed May 15, 2013 1:35 pm

Multiple profiles/subnets on PPTP

Wed May 15, 2013 4:16 pm


Is it possible to setup two or more profiles with PPTP connection?
At this moment i need to setup two different Subnets/Radius/Domains/PPTP profiles.
Everything is working fine, except profile.
There is default profile set in PPTP server setup, and i have no clue how to force MT to choose another.
Setting by Local IP address does not work, everytime default profile is used.
It means, no matter if i'll connect to PPTP address A ( or B (, i'm receiving default profile IP.

Must be simple solution, i'm just not seeing it.

Using CCR1016-12G v6.0rc13.

Sample config below:
/ip pool
add name=Domain_A_clients_pool ranges=
add name=Domain_B_clients_pool ranges=

/ppp profile
add dns-server= local-address= name=Domain_A_remote \
    remote-address=Domain_A_clients_pool session-timeout=0s use-encryption=yes
add dns-server= local-address= name=Domain_B_remote \
    remote-address=Domain_B_clients_pool session-timeout=0s use-encryption=yes

add address= comment="external IP for PPTP - Domain A" \
    interface=ether2 network=
add address= comment="External IP for PPTP - Domain B" \
    interface=ether2 network=

/interface pptp-server server
set default-profile=Domain_A_remote enabled=yes

You do not have the required permissions to view the files attached to this post.
User avatar
Posts: 473
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.

Re: Multiple profiles/subnets on PPTP

Wed May 15, 2013 5:50 pm

I think you might be able to specify the local and remote address in the radius profile.

Use Framed-IP-Address for the remote IP and Framed-Route for the local address.

I've not tested it yet...

Nick Shore MTCNA MTCWE MTCRE MTCINE MTCTCE - MultiThread Consultants
Get your MikroTik RBs and Training:
Official UK MikroTik Distributor
IRC chan: #routerboard on (IPv4 and IPv6)
just joined
Topic Author
Posts: 4
Joined: Wed May 15, 2013 1:35 pm

Re: Multiple profiles/subnets on PPTP

Thu May 16, 2013 9:08 am

Radius is working fine. Local and remote are in there.
Depending on PPTP external IP address it queries correct domain controler for username.
Trouble is, no matter what domain it queries i'm receiving Default profile IP address.
If i'm correct, i need to use at least 2 profiles, to get different subnets for PPTP clients.
Or find another method to achieve that.

Who is online

Users browsing this forum: C0ReDuMP and 65 guests