1,234
edits
Changes
no edit summary
At this point you'll have iptables services on your host and firewalld on your VMs - look at the state of iptables on both to learn how to see the difference. After you've figured that out - replace firewalld with iptables services (the steps are in the [[OPS335_Installation_Lab]]).
= Overview =
Some documentation to get started with (you'll need to find more):
* [https://en.wikipedia.org/wiki/Iptables#Overview Overview] section on Wikipedia is a good (short) overview of the system. You don't need to understand that diagram though.
* [https://wiki.centos.org/HowTos/Network/IPTables CentOS Wiki] has some basic commands, you won't need to use all of them for the work below.
Iptables is a very complex topic, but if we don't try to do too much we can get started with it with what we know now and by the end of the course you'll at least be able to say you can use iptables, even if you're not an expert at it. To give you a taste of the complexity: see what comes up when you search for [https://www.google.ca/search?q=simple+iptables+diagram&tbm=isch simple iptables diagram]. So we'll make our own here:
= Setup =
#* You can also install a graphical tool that makes it much easier to see differences: kompare before.txt after.txt
# You can use these tools to compare any two text files, they often come in handy. For the purpose of this lab notice that some iptables rules are added automatically by the libvirtd service.
== Simple rule changes ==