mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-05-20 00:07:58 +02:00
4 lines
184 B
Python
4 lines
184 B
Python
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() |