How can I distribute IP Adresses to VPN Users ?

Hi @all,

one of our customers is using a Mikrotik Router.
I managed to set up VPN Connections for some people that work from home.
Right now every VPN user has a certain, fixed VPN adress.

My question is :
How can I distribute IP Adresses dynamically from a certain pool to those VPN Users ?

Thanks in advance !

Bye Dirk

Create PPP Profile with Remote-address-IP Pool.

Create PPP Secret (User) with the Profile

Create PPP Profile with Remote-address=IP Pool.

Create PPP Secret (User) with the Profile

Thanks for the very quick answer.

I tried to set up a new profile with the winbox tool, but none of my entries for “Remote-Adress” were accepted.

I tried :

192.168.42.0/255.255.255.0
192.168.42.0/24
192.168.42.4-192.168.42.6

Only if I enter a single IP adresse the field won’t turn red.
So I guess it’s just a matter of syntax.

Maybe you could give me one more hint ?


Thanks in advance !

Bye Dirk

specify an IP pool where you can put the range. that field only accepts a single IP.

Specify an IP pool like changeip said, /ip pool… Then assign that pool to a ppp profile, /ppp profile set 0 remote-address=pool1