How to Run Scripts at startup?

Scripts are required to run upon startup on occasion. It is a good option to automate operations like performing updates, installing packages, or even setting default routes. We’ll create a new service and run a custom bash script to set static routes in a VPS. Your script can do anything as long as it’s written […]

Continue Reading…

How to Block all ports in IPtables

We’ve included an example of one of the most common iptables configurations. Except for particular ports, we will block all connections. To begin, we’ll erase all present iptables rules to eliminate any errors caused by the prior configuration. SSH into your server as root and run the following commands: iptables -t filter -F  iptables -t […]

Continue Reading…