Create network rule

The network:create command allows you to create a new network (firewall) rule on a server.

ploi network:create

Create a network rule on a specific server:

ploi network:create --server=blue-ocean

Options

OptionDescription
--server=The server name or ID

When running the command, you will be prompted to enter the rule details such as port, protocol, and IP address restrictions.