initial install test

This commit is contained in:
NL-TCH
2024-02-08 23:24:30 +01:00
parent ce63e48445
commit 2ce8351b1a
17 changed files with 767 additions and 0 deletions

4
api/modules/firewall.py Normal file
View File

@@ -0,0 +1,4 @@
import subprocess
def firewall_rules():
return subprocess.run("cat /etc/raspap/networking/firewall/iptables_rules.json", shell=True, capture_output=True, text=True).stdout.strip()