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 (10.10.10.1) or B (10.10.10.2), i'm receiving default profile IP.
Must be simple solution, i'm just not seeing it.
Using CCR1016-12G v6.0rc13.
Sample config below:
Code: Select all
/ip pool
add name=Domain_A_clients_pool ranges=192.168.1.200-192.168.1.250
add name=Domain_B_clients_pool ranges=192.168.2.200-192.168.2.250
/ppp profile
add dns-server=192.168.1.2 local-address=10.10.10.1 name=Domain_A_remote \
remote-address=Domain_A_clients_pool session-timeout=0s use-encryption=yes
add dns-server=192.168.2.2 local-address=10.10.10.2 name=Domain_B_remote \
remote-address=Domain_B_clients_pool session-timeout=0s use-encryption=yes
add address=10.10.10.1/32 comment="external IP for PPTP - Domain A" \
interface=ether2 network=255.255.255.255
add address=10.10.10.2/32 comment="External IP for PPTP - Domain B" \
interface=ether2 network=255.255.255.255
/interface pptp-server server
set default-profile=Domain_A_remote enabled=yes