How to creat rotating proxy

I have 4g dongel and my home PC and I want to use it as a proxy . Anyone can help how can I creat rotating proxy with this dongel like automat this dongel to on off each 5min . . Thanks :slightly_smiling_face: