update firewall port update routes

This commit is contained in:
axolotle 2021-03-22 20:29:17 +01:00
parent 27eefcb286
commit 20553de539

View file

@ -1210,7 +1210,7 @@ firewall:
### firewall_allow() ### firewall_allow()
allow: allow:
action_help: Allow connections on a port action_help: Allow connections on a port
api: POST /firewall/<port> api: PUT /firewall/<protocol>/allow/<port>
arguments: arguments:
protocol: protocol:
help: "Protocol type to allow (TCP/UDP/Both)" help: "Protocol type to allow (TCP/UDP/Both)"
@ -1243,7 +1243,7 @@ firewall:
### firewall_disallow() ### firewall_disallow()
disallow: disallow:
action_help: Disallow connections on a port action_help: Disallow connections on a port
api: DELETE /firewall/<port> api: PUT /firewall/<protocol>/disallow/<port>
arguments: arguments:
protocol: protocol:
help: "Protocol type to allow (TCP/UDP/Both)" help: "Protocol type to allow (TCP/UDP/Both)"