mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00: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()
|