Community discussions

MikroTik App
 
javiertecla
just joined
Topic Author
Posts: 6
Joined: Wed Nov 30, 2022 3:58 pm

Remove Duplicate Users in PPP

Mon Dec 05, 2022 2:24 pm

Hello friends, ask if you can help me please: I found a script in the forum to remove duplicate users in the vpn but this script does not work for me, as I show it in the image, it is what I would need "if there is more than one instance I took it out of a user"


Image
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: Remove Duplicate Users in PPP

Mon Dec 05, 2022 2:32 pm

If you set only-one=yes in the PPP profile used by a PPPoE or VPN server then only one connection can be established.
 
javiertecla
just joined
Topic Author
Posts: 6
Joined: Wed Nov 30, 2022 3:58 pm

Re: Remove Duplicate Users in PPP

Mon Dec 05, 2022 2:40 pm

First of all, thank you very much for the prompt response. If indeed I did locate the option you told me, could you help me with the script please?
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: Remove Duplicate Users in PPP

Mon Dec 05, 2022 2:57 pm

There is no scripting needed, with only-one=yes a user cannot establish more than one connection.

Who is online

Users browsing this forum: cmmike, sjdurand and 36 guests