Compile with nuitka --standalone --windows-console-mode=disable [file].py (pip install nuitka)
--standalone will output a dist with one .exe and a bunch of .pyd & .dll files, which are required for the exe to run.
there is also --onefile which will bundle everything into one singular .exe, but this exe gets flagged by windows defender, thus --standalone is preferred.
Call client with client.py --enable/--disable, boolean flag reflects the state of the firewall rule.
Server needs to be ran with admin privileges to be able to manage firewall rules.
Description
Languages
Python
100%