VPS Configuration Tutorial

Do you think about purchasing a VPS, but don't know how to configure it? We'll help you with it. Virtual private server (VPS) has couple of parameters to set with a purchase while others (including firewall) are set up afterwards.

 

System configuration

At the web page wespner.eu/en/vps-servers, you can easily set up your VPS like you wish. Do you have a rough idea you'll need 2 CPU cores, 16GB RAM, and 120GB of disk storage? Just use the sliders on the page. Likewise, you can set up how many IPv4 and IPv6 addresses and backups you need.

 

Ranges of these configuration items are:

  • CPUs: 1–6
  • RAM: 1–48 GB
  • Disk storage: 40–360 GB
  • IPv4 and IPv6: 1–2
  • Backups: 3–15

Once you purchase and pay for a VPS, you'll see the server overview where you can find the server hostname, main username (default is root), and where you can copy or even change your user password (password to log in to your user account). Your user account can also have some SSH keys assigned which you can use to log in to the server through SSH console. One of the most important information is your server's IP address, you'll need that for various operations with your VPS (manageent using SSH, DNS settings, etc.) – every server has by default one IPv4 and one IPv6 address. Both IP addresses should be visible on the page. One of them is sufficient for an SSH access. If you want to run a web app on your VPS, you will need both IPv4 and IPv6 for DNS records (Record A for IPv4 and record AAAA for IPv6).

Other information you can see in the overview are the uptime, operating system, network bandwidth, disk size, RAM size, and the CPU count.

 

You can also display logs, manage your storage, watch the usage stats, manage ISO mages for your VPS, check your billing and invoices overview, perform a manual renewal, and most importantly, manage your network. This is where you can set up your firewall.

Firewall configuration

In the network section, you can configure both the network interface and firewall. And firewall is the most important one. By default, it's empty, and it requires certain settings. Click the blue “Add new rule” button to begin configuring your firewall.

Clicking that button will open a dialog window where you can enter a protocol, which source address or port that connection can happen, and which destination address or port that rule applies to. There are some pre-prepared macros which will automatically set the destination port (eg. Secure shell – SSH). If you want to set up a certain range of ports, use the following format:

  • <starting port>:<ending port> (eg. 8000:8999)
  • Maximum port value you can use is 65535, minimum value is 1.

Then all you need is to click the blue “Submit” button, and your new firewall rule is in your firewall table.

 

You can also update you existing rules by clicking the gray “Edit” button at the firewall rule row on the right.


Was this article helpful?

mood_bad Dislike 0
mood Like 4
visibility Views: 512