With ECS, you can achieve more with the latest generation of CPUs as well as protect your instance from DDoS and Trojan attacks. You can achieve great results on your cloud needs. In this guide, we will talk about the best practices for the initial setup of your Ubuntu 16.04 server hosted on Alibaba Cloud Elastic Compute Service (ECS).Īlibaba Cloud Elastic Compute Service (ECS) provides a faster and more powerful way to run your cloud applications as compared with traditional physical servers. Or just reset all rules by typing: $ sudo ufw reset Related Blog Posts How to Set Up Your First Ubuntu 16.04 Server on Alibaba Cloud You can disable UFW at any time by typing the command below: $ sudo ufw disable Make sure ufw is enabled before checking the list of rules. Where is the value that you obtained above from the list of rules available. You can delete any rule that you have created by first checking its number and then deleting it via the commands below: $ sudo ufw status numbered Once you have whitelisted the services, run the command below to start UFW $ sudo ufw enable To do this, type the command below to add the rule: $ sudo ufw allow 22Īlso if you are running a web server, you should enable the http and https port: $ sudo ufw allow http To avoid completely locking yourself from your Ubuntu server, the first port/service that you should allow on UFW is port 22 which listens for SSH connections. You can use the UFW command below to allow traffic to a particular port or service: $ sudo ufw allow Then, type the command below to allow all outgoing calls and deny or incoming calls. UFW is a right choice for adding another security to your Ubuntu 16.04 server running on Alibaba Cloud.Īlthough UFW is installed by default, you can use the command below to get it from Ubuntu’s repository if it was uninstalled: $ sudo apt-get install ufw UFW is a simplified tool which aims towards simplifying the process of setting up IP tables especially for beginners who are new to the Linux environment. Ubuntu 16.04 comes with a default interface for interacting with IP tables known as UFW (Uncomplicated Firewall). In this tutorial, we will talk about the best practices for provisioning your Ubuntu 16.04 server hosted on an Alibaba Cloud Elastic Compute Service (ECS) instance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |