Community discussions

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

vpn functional only certain days

Wed Nov 30, 2022 4:09 pm

hey community how are you? I am new here, I would like to know if you could guide me how to enable or that the vpns I have only work on certain days... I am from Argentina and here the staff unfortunately does not respect anything, so I have to take certain measures. I hope you can help me
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: vpn functional only certain days

Thu Dec 01, 2022 7:52 am

I can imagine two ways:
  • a periodically scheduled script that would enable and disable individual accounts or the whole VPN server according to a time schedule. This would prevent the user from establishing the VPN connection at all
  • use of the time match condition in firewall rules would allow the user to establish the VPN connection but no data could flow through it. This approach requires no scripting
Depending on what is your actual issue, bandwidth control could be somewhat better than total on/off.
 
User avatar
own3r1138
Long time Member
Long time Member
Posts: 680
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: vpn functional only certain days

Thu Dec 01, 2022 8:23 am

You could use user-manger and profile limitations.
2022-12-01_09-50-55.jpg
You do not have the required permissions to view the files attached to this post.
 
javiertecla
just joined
Topic Author
Posts: 6
Joined: Wed Nov 30, 2022 3:58 pm

Re: vpn functional only certain days

Thu Dec 01, 2022 1:24 pm

Thank you very much for all the answers offered with all my heart, now I ask again how would I do that if you can guide me please...im new in this
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18961
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: vpn functional only certain days

Thu Dec 01, 2022 2:13 pm

Suggest take some courses or hire a consultant...........

https://mikrotik.com/consultants/latinamerica/argentina

Who is online

Users browsing this forum: GoogleOther [Bot], sergejs and 55 guests