Don’t forget to update your Mikrotik firmware to 6.41.1 or higher! Current stable and secure firmware is 6.47.10. Simple Mikrotik Firewall configuration:
In Mikrotik terminal go to Firewall Filter:
/ip firewall filter
For increase the speed of router fist rule should be:
In IP -> Firewall -> Address List create new address list width name AccessList and add there all IP addresses you want to use for remote connection to your router.
In IP -> Services menu enable only SSH and Winbox services, for more security you can change default Winbox and SSH ports:
It is all you need to secure your home or office router and network.
Don’t forget to update your Mikrotik firmware to 6.41.1 or higher! Current stable and secure firmware is 6.48.6. For more stability use firmware from “long term” channel.
Python is completely object oriented, and not “statically typed”. You do not need to declare variables before using them, or declare their type. Every variable in Python is an object.
Numbers
Python supports two types of numbers – integers(whole numbers) and floating point numbers(decimals).
Python is a very simple language, and has a very straightforward syntax. The simplest directive in Python is the “print” directive. In our first lesson we create script hello.py that write phrase “Hello World“.
print("Hello World\n")
Symbol \n used to set cursor on new line. That’s all it is let’s start our script:
python3 hello.py
And we will see phrase “Hello World” on our display.
Then we need to add the Nginx mainline package to our repository so that when we run apt install nginx, we will download the mainline version instead of the old stable version.
echo "deb http://nginx.org/packages/mainline/debian `lsb_release -cs` nginx"
| sudo tee /etc/apt/sources.list.d/nginx.list
Next we need to download the signing key so that we can verify its authenticity
Now update package repositories and install Nginx:
sudo apt update
sudo apt install nginx
That’s it! You have now installed the latest release of Nginx on Debian 10. You should now start it!
sudo systemctl start nginx.service
And Don’t forget to make it automatically start on system boot as well.
sudo systemctl enable nginx.service
Step 2: Install PHP 7.4
To install PHP 7.4 we need to add repository. Since PHP 7.4 didn’t come with Debian 10 it is required to add the following repository. Write this commands: