Prerequisites
- A VPS with OnetSolutions
- An OnetSolutions account
How the Firewall Works
Removing all rules will deactivate the firewall entirely.Creating Firewall Rules
When adding a new rule, you’ll need to specify:Common Rules
Allow SSH (Port 22)
Allow SSH (Port 22)
- Priority: 10
- Direction: INPUT
- Action: ACCEPT
- Protocol: TCP
- Destination Port: 22
Allow HTTP/HTTPS (Ports 80, 443)
Allow HTTP/HTTPS (Ports 80, 443)
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
Allow Ping (ICMP)
Allow Ping (ICMP)
- Priority: 30
- Direction: INPUT
- Action: ACCEPT
- Protocol: ICMP
Best Practices
If you lock yourself out, use the KVM Console to access your server and fix the configuration.

