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
Sending E-mail
To let your VPS send e-mail (an application, notifications, a mail server), use the Sending e-mail section at the bottom of your instance’s firewall page, in the console. It shows the outbound SMTP ports concerned: 25, 465, 587 and 2525.1
Turn the switch on
Turn on Allow this server to send e-mail.
2
Describe your use
In What will these e-mails be used for?, write in your own words what your server sends, for example transactional e-mails from your application (password resets, invoices) and their volume.
3
Accept the commitments
Tick the two commitments shown, which reference the acceptable use policy and the terms of service, then click Allow sending.
If the section says that the authorization is managed by OnetSolutions, contact support to change it.
Best Practices
If you lock yourself out, use the KVM Console to access your server and fix the configuration.

