There may come a point when your website or e-commerce shop powered by UK2 servers outgrows the capabilities and performance levels offered by shared hosting platforms. At this…Previous Article
With the move from the relatively safe world of shared hosting to the world of virtual or dedicated server hosting there are an almost bewildering number of additional things to be taken into account beyond simply uploading your website and configuring it.Â Not least of these is the security of your server.
A key piece of the security of your server and an often overlooked one is the humble firewall.Â While we supply all our servers with some basic firewall configuration this setup is based around allowing customers to get up and go quickly.Â In many cases the support teams may encounter servers further down the line that still have those same initial firewall settings or the firewall disabled completely, both of which may pose a security implication for the server.
For those new to firewalls, a firewall can be imagined as a tool for managing the doors to a building.Â If you imagine your server as a building such as an office or a shop, you will have areas that members of the public can access, areas that only staff can access and areas that specially cleared staff can access.Â The firewall can be used to make sure that different groups can access each of those areas of your server while restricting access to other areas.
When considering your firewall policy you first need to look at what you use your server for and which groups of people need to access which parts of it.Â Publicly accessed areas like a website will need to allow the world access, while private areas need only allow access to a necessary few.Â As a rule you are looking to minimise the number of publicly accessible areas on the server and if whenever possible prevent configuration services from being publicly accessible such as Linux’ SSH and Windows’ Remote Desktop.
Once you have your list of publicly and privately accessible services you then need to work out where your privately accessible services will be accessed from.Â Both Windows firewall and Linux’s iptables firewalls are able to block/allow access based on the IP address that the connection attempt is coming from allowing you to limit access as required.
Once you have a list of IP addresses that each private service is being accessed from you can then configure your firewall.Â By default it should be set to reject any incoming traffic you don’t specifically allow and any services you do need to access remotely can have their relevant rules created to match the list you have created.
While there are many guides online to help you configure the rules for your firewall, dedicated server customers who need help can take advantage of our managed server support, where our team of staff can configure the firewall to the required settings.Â Alternatively there’s also the option of having your server behind one of our managed firewalls, or purchasing a hardware firewall to sit in front of your server that you can manage yourself.
Our managed firewall offering has additional benefits over using the software firewall on your server. Firstly our staff will do all the firewall configuration on it for you, saving you the need to learn to manage the firewall yourself.Â Secondly, as the firewall is separate to your server, should a hacker managed to gain access to your server they will be unable to reconfigure or disable your firewall to permit greater remote access.
However you go about it, a firewall is an important first step in securing your server.Â Time spent configuring it in advance could reap benefits in helping prevent your server being hacked later.