How to create a server-level firewall
You can restrict VPS incoming connections within your VPS provider’s admin page (at a network-level), but if you can’t restrict outgoing connections, or you prefer to use a firewall at a server-level. you can use
This is an example of how
ufw works. We are going to restrict our incoming connections to a specific IP. Replace “IP” with your chosen IP.
You may need to start and enable
ufw service. You need to be a root user or use sudo to run these commands.
ufw default deny incoming ufw default allow outgoing ufw allow from IP ufw enable # you only need to run this once
To allow a specific port:
ufw allow 1050
Disable the firewall:
If you use Docker,
-p flag makes the selected port available to everyone regardless of your
ufw configuration, so you need to use
--network host instead.
docker run -d --network host nginx
In this new series, we are going to explore useful penetration testing utilities from Kali Linux. The main tool (or set of tools) any pen-tester or ethical hacker should know is Metasploit Framework.
Quickemu is a great QEMU-based program to create and run optimised Linux, Windows and macOS virtual machines.
Learn how to install Virtual Machine Manager on your Arch device following a few simple steps.
Jitsi Meet is an open-source video conferencing platform you can install on your server.
A comprehensive list of Linux-related websites sorted by categories.