Create firewall rule
Servers
Create Firewall Rule
Create a new firewall rule for the server.
POST
Create firewall rule
Documentation Index
Fetch the complete documentation index at: https://docs.rdp.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
Body
application/json
Rule action
Available options:
ACCEPT, DROP, REJECT Traffic direction
Available options:
in, out Protocol (tcp, udp, icmp, etc.)
Destination port(s)
Source port(s)
Source IP/CIDR
Destination IP/CIDR
Rule comment
Maximum string length:
255Whether rule is enabled