hello awesome people
i am looking to schedule an L2tp client connection ( example connect daily from 6am to 6pm )
how can i proceed ? i see there is a scheduler in routeros
thank you
A simple way to do it would be to create 2 scripts. The first one enables the L2TP client in RoS and the second one disables the L2TP client. You then schedule the first script to run at 6 AM and the second one to run at 6 PM.
This method doesn’t give you any checking that the connection is working but it does achieve what you asked for.
–
Backups are your friend. Always make a backup!
/system backup save encryption=aes-sha256 name=MyBackup
Please, export and attach your current config to your post if you want help with a config issue:
/export hide-sensitive file=MyConfig/export file=MyConfig
can you help me with the command please ?!
can you help me with the command please ?!
Unfortunately not. I don’t have a MikroTik running at the moment and didn’t use them as VPN clients when I did (except for Site-to-Site VPN). This wiki page gives you details about MikroTik L2TP VPN configuration and there is a CLI example on the page for enabling an L2TP VPN server. It shouldn’t be too hard to adapt the command for the L2TP client.
–
Backups are your friend. Always make a backup!
/system backup save encryption=aes-sha256 name=MyBackup
Please, export and attach your current config to your post if you want help with a config issue:
/export hide-sensitive file=MyConfig/export file=MyConfig