Managing Your VPS Firewall (Border)



By default all ports are open on the VPS Border Firewall. However you may wish to Lock down ports or the entire server down to some IPs.

Getting to the Firewall

1. Login to your control panel at https://billing.hostinguk.net/
2. Go to Services > My Services
3. Click on the Active button next to your VPS.
4. Scroll down the page where you should see a selection of buttons. Click on Firewall Management
c0a498cbf3049f05ef4574a6690678a278ceb4a5?t=0937e0d7defc46d91968f51e5247cb9a

Default Rules

eb484de1928e0872336af3b6e93ea21184bcf3d9?t=8b7a9758594e884a93638ba3ddf08e26

The default rule is simply whether you want everything allowed or everything Blocked.

By default, everything will be allowed through. You can create rules to block access to certain ports.

If you prefer, you can set this to Block everything by default meaning you will have to create rules for Specific ports or IPs that can connect.

If you do Make a Change, click the Save Default Firewall Rules button and then Apply Firewall Rules.

Firewall Rules

The Firewall Is split into different sections.
Interface: This will default to Eth0 (chances are you will only have one)
Command: Whether this rule is to Accept or Drop a Connection
Source: Where you can set a set a source IP that's making the connection (if any)
Destination Port: The port on your server this firewall should either allow or deny (if any). You can specif a port range using ":" (i.e 300:400)
Protocol: Where you can select TCP/UDP/ICMP (if you're not sure, TCP is the most likely)

Enter in your desired details for your firewall and click the Add Rule button
46669a0cb2a163217977e79008bf5826583f87fa?t=d3a999c06979f8bf82ef0742373df982 Your Firewall can contain A Source address, Destination port or both.

Examples

Example of Allowing access for port 80 (http) from any IP:
58133f22f7ee8b6fd2c8bc18a760089755920055?t=3d2343054e0f864178d57d0da39932a6 Here is an example of an Allow on any port for a specific IP:
95d3bfb3a8ce5475fa86ac4acdad4288e23d5673?t=b8ee799a7253140e548cd1e98e47b89b Here is an example of a Block on Port 22 (SSH):
79870d53aa0a9c999219be8be7c4cd6f8820af41?t=da0f1b2dcb9ea74cf3aac06252702bbe Here is an example of Allowing a Port Range:
00453f48ecc954c4a1f0c9b4d7e7877bfa6e7d52?t=017ad7e68d74d260cdecb4fe3848df66

Firewall Order / Editing

The Firewall works logically Top rule > Bottom rule. You should take care and make sure any Drops you put in are below any Allows otherwise the Drop will take priority.

You can use the Arrow keys to move the order of the Ports:
903dedbacd518281c402a981212f5a8914472a6f?t=23cd6485d1bf45117cd8434c7af104b5
You can also use the "X" Icon to Delete a Rule Or the Pencil Icon to Edit a Rule
85f6d0a4488b58470660c118115539bce6087370?t=6c2692930f6618af77f939e9b97b53ac

Comments

Please login to comment