I purchased the Beryl AX router a few months ago, and I am loving it. This is more of a niche question, though. I want to purchase a couple of GL.iNet routers and manage them remotely via the command line. I was able to connect to the router using Bitvise and PowerShell and was even able to send a few commands that worked.
The reason I want to use SSH is that I want to automate certain tasks—specifically, allowing internet connection to certain devices when certain conditions are met and blocking others—without having to get into the dashboard of each router and manually blocking specific clients in the Clients tab.
So, I have two major questions:
- How do I SSH into a GL.iNet router remotely over the internet, specifically the Beryl AX?
- What terminal commands do I send to the router to allow internet connection to a specific list of devices while blocking others, and then unblock some when needed or after a certain condition is met? For example, allow internet for a CCTV camera from 8:00 AM, then if I am home early, block the internet connection to the CCTV at that time, say 11:27 AM. But if not, allow internet connection until 6:00 PM, then block it.
Note: I have a simple software development background, so I can work out the conditions part with any programming language that comes to mind. However, I am less familiar with the networking bit. For question two, I basically need the commands to allow and block certain devices, then I can wrap the commands with a specific programming language to handle the conditions.