I am trying to setup a PPTP server on our office router that is a RB532 running 2.9.35. The router is currently routing between a WAN IP of x.x.159.7/28 on ether1 and a private IP of 192.168.20.1/24 on ether2. It is configured as Masq & DHCP server for 192.168.20.0/24 on ether2. All the present configuration works great. The problems begin when I try to follow the example in the mikrotik Wiki and configure the PPTP server. I enter the commands below. Afterword, I am able to establish a PPTP connection from a laptop on the internet to the router, but the laptop does not get an IP address assigned to the PPTP connection. Also I notice that it causes my existing DHCP server configuration for ether2 to become invalid. I would really appreciate some help to find what I am doing wrong. Thanks!
I think you should use your user name to create the pptp interface. You have to say that this interface is for this user.
In PPP:
ppp secret> add name=“user-1” service=pptp password=“******” profile=pptp-in local-address=10.1.2.1 remote-address=10.1.2.2. Sure you have IP with this. If you create routes in your RB532 to access your 10.1.2.2 you can access all your LAN without problems.
Thanks for your help Martin! I have changed the configuration so that ether2 (the LAN) is part of the bridge and not ether1. Now I AM able to establish a PPTP connection from a notebook and I am able to access my server resources on the office LAN. The only problem left is that my DHCP server configuration for the office LAN (ether2) is listed as invalid, even though is worked fine for months before adding the PPTP server configuration. Any ideas how I get the routerboard to once again work as DHCP server for my Office LAN while still keeping the PPTP server working?
I sorry I don’t understand some of your instructions. I am trying to configure the PPTP server for roaming employees that will be connecting with a windows client, so the remote address is dynamic and will change. How to I assign a remote address when it is always changing?
Thanks for catching my mistake! I have changed the configuration so that ether2 (the LAN) is part of the bridge and not ether1. Now I AM able to establish a PPTP connection from a notebook and I am able to access my server resources on the office LAN.
hello, i have a problem similar with my pptp-server, i put all command like lant but my client other routerboard rb-333 can´t to connect the server.
the log´s server say sometimes “link estable…” and appear “R” Runing for a moment but…disconeccted over an over again.
I don´t know to do, for conecction since LAN everything is ok, with my laptop i can connect and the server assing me ip…
what is the problem? the router-adsl open port: tcp 1723, tcp 1701,udp 500 to eth3.
from WAN don´t works!!!
i hope your help because i am 12 continuos hours with this.
Gracias Martin, efectivamente ese era el problema, he actualizado a 3.3 y to ok.
Saludos.
Thank Martin, this is the problem, i update to 3.3 and fixed.Now all working ok.
Regards.