@echo on
:LOOP
netsh advfirewall set currentprofile state on
timeout /t 2
netsh advfirewall set currentprofile state off
timeout /t 55
goto LOOP