API documentation Web hosting accessible to everyone Visit LWS

API reference

Firewall

A VPS firewall applies rule sets: templates defined once on the account, then applied to one or more VPS. Editing a rule set updates every VPS it is applied to.

To open a port to specific addresses:

  1. Create a rule set describing the allowed ports and addresses.
  2. Apply it to the VPS.
  3. Enable the firewall of the VPS if it is not already enabled.

Retrieve the firewall of a VPS shows the rules actually in place, including those enforced by LWS, such as the outgoing port 25 block, lifted on request.

9 operations