Firstly I apologise if this should be located elsewhere, as it is related to routers I hope this board is correct.

I'd like to run a script (i believe a .py file) using cron which will automatically log into my router and change certain firewall settings.

Does anyone know of such a script or where i might get help with one please?

Thank you in advance