Replies: 6 comments 3 replies
-
Hello, I'm trying the same with PHP: Unfortunately my code is not activating or deactivating the existing rules. With each execution it is creating additional port forwarding rules... Any ideas on this? |
Beta Was this translation helpful? Give feedback.
-
Haven’t been able to look into this yet… |
Beta Was this translation helpful? Give feedback.
-
I finally managed to get this connected to my firewall. However, I've realized that the functionality I require isn’t available here, despite ChatGPT indicating otherwise. Does anyone know how to enable and disable firewall rules through the API? |
Beta Was this translation helpful? Give feedback.
-
Has anybody got a specific use case what needs to be achieved together with the code you’ve used so far? |
Beta Was this translation helpful? Give feedback.
-
hi, i developed an app for nextcloud which does exactly that. i allows you to define some rules which can then be switch on/off with e. g. a timer. we use that at our local school so that teachers can allow/block access to the internet as needed. if anyone is interested i can publish the app... |
Beta Was this translation helpful? Give feedback.
-
@alexanderharm thanks for sharing! For those looking to leverage these suggestions through the API Client you can use the Make sure you use the correct URL, payload and HTTP method. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
thank you for the work you put into this. I'm looking for a way to turn on/off firewall rules. via the API client but could not find a way with the commands in the documentation. Did I miss something?
thank you
Beta Was this translation helpful? Give feedback.
All reactions