In this tutorial we will remove default firewalld service and install iptables-services. As you already know, CentOS 7 doesn’t use iptables service anymore. You can still use iptables, but only in running sessions … the moment you reboot your changes to netfilter will dissapear …
In this demonstration i will use virtual server called CentOS 7 which is based on Red Hat. CentOS 7 uses firewalld service instead of iptables, and this is the main reason why you can’t save changes to your configuration.
You can still use iptables in your startup scripts … but such approach will only make more confusions and this is not a good idea.CentOS 7 comes with firewalld service which uses firewal-cmd tool for applying firewall rules, this tool is very easy to use.
The new firewall-cmd is much easier to use
In this video How to use iptables on Linux CentOS 7 you will learn many tricks which will help you to understand iptables.
Before we remove firewalld service, i will show you how to open port 80 using firewall-cmd just to show you how easy it was. We will do the same using iptables to see the differences between this two approach.
Why using iptables on CentOS 7
There are still many questions left to answer . First one would be – why using iptables ? – this tool is very robust and complex, on the other hand firewall-cmd is way more user friendly! How to use iptables on Linux CentOS 7 ?
– well … maybe you want to learn iptables for some kind of exam or certification, or you where using it before – and you just want it back!!!
Tmux stands for terminal multiplexer. With this feature you can split terminal in multiple screens and work simultaneously on numerous servers. This tool is favorite among all Linux system administrators.Tmux will boost your sysadmin efficiency! Continue reading “Tmux will boost your sysadmin efficiency”
What to do after installing Linux Ubuntu? It would be great if we can transform Linux Ubuntu into fully operational testing lab for all variety of virtual machines (guests). Installing virtualization packages will give you opportunity to try all kinds of Linux flavours like CentOS, Linux Lite, Debian etc.
Welcome to new episode “What to do after installing Linux Ubuntu 3”!!! …well there are plenty more things to cover here, in this third part we are going to enable firewall, install ssh and allow access on default ssh port 22.
What to do after installing Linux Ubuntu 2 – In this part we discuss about few basic adjustments before we start using the most exciting Linux features called Virtualization. Oh yeah! Later on there will be plenty of virtual machines inside your newly installed Linux Ubuntu operating system. Continue reading “What to do after installing Linux Ubuntu 2”
If you installed Linux ubuntu there are few things left to adjust for better user experience. This guide will show you what to do after installing Linux ubuntu operating system. First of all, you should update your newly installed system! To do so, activate Linux terminal by pressing ctrl + Alt + T keys!
How to install Linux? – well, there are two or even more ways of making your “Linux boxes”. Many people install VirtualBox on their Windows operating systems, (a program also called hypervisor) on the top of which they install Linux virtual machines. – and yes, you can do it this way but disadvantage is you never experience true power and speed of Linux operating system. If you really interested how to install Linux and Windows read this introduction. Continue reading “How to install Linux and Windows – dual booting”
Do you remember those trivial decisions at the beginning of each new year? Are you ready to change your lifestyle? – Yes, your lifestyle! This is just like you decide one day to get rid of all bad habits and start doing all kinds of excercizes. Do you ever ask yourself why should i consider using Linux? Continue reading “Why should i consider using Linux? – Changing lifestyle”
Do you ever wonder which Linux distribution is good for me? – actually this question is very simple, just use Linux Ubuntu. Why Ubuntu for god sake?!? Well, this is the most easiest Linux distribution for beginners! – It’s very user friendly, and later on you can switch to something else! There are plenty of Linux distributions out there, and all of them are good for some special purposes. Which one is good for you? Let’s find out! Continue reading “Which Linux distribution is good for me?”
How to install Windows and Linux – part1 , in this episode first we take a look on software and hardware requirements that are essential for this task! There be some really important explanations about our primary goal – making a really cool pc-configuration with two separate operating systems, Windows and Linux. Continue reading “How to install Windows and Linux – part1”