Skip to main content

Documentation Index

Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt

Use this file to discover all available pages before exploring further.

The built-in firewall allows you to control inbound and outbound traffic to your VPS through the OnetSolutions control panel.
Prerequisites
  • A VPS with OnetSolutions
  • An OnetSolutions account

How the Firewall Works

When you add your first firewall rule, the firewall becomes active and blocks all traffic by default. You must explicitly allow the traffic you want to permit.
Removing all rules will deactivate the firewall entirely.

Creating Firewall Rules

When adding a new rule, you’ll need to specify:
FieldDescription
PriorityValue between 10-100 (lower = higher priority)
DirectionINPUT (incoming) or OUTPUT (outgoing)
ActionACCEPT (allow) or DROP (block)
ProtocolTCP, UDP, or ICMP
Source IP/PortSource address and port range
Destination IP/PortDestination address and port range

Common Rules

  • Priority: 10
  • Direction: INPUT
  • Action: ACCEPT
  • Protocol: TCP
  • Destination Port: 22
Create two rules:
  • Priority: 20 / Direction: INPUT / Action: ACCEPT / Protocol: TCP / Destination Port: 80
  • Priority: 21 / Direction: INPUT / Action: ACCEPT / Protocol: TCP / Destination Port: 443
  • Priority: 30
  • Direction: INPUT
  • Action: ACCEPT
  • Protocol: ICMP

Best Practices

  • Always allow SSH access before activating the firewall
  • Use specific IP ranges when possible instead of allowing all IPs
  • Regularly review and update your firewall rules
  • Test new rules carefully to avoid locking yourself out
If you lock yourself out, use the KVM Console to access your server and fix the configuration.