Open main menu

CDOT Wiki β

Changes

OPS335 Installation Lab draft

222 bytes removed, 06:27, 9 January 2016
Using iptables
===Using iptables===
The most recent variants of Centos and Fedora are using a service called '''firewalld''' that is intended to replace '''iptables''', however the ''iptables'' service is still in relatively common usage. In this course we will keep running concentrate on ''iptables'' on the host machine, and gain experience with the new service (firewalld) on the virtual machines.#install and enable iptables '''yum install iptables-services''' '''systemctl enable iptables'''<ol><li value>Disable firewalld:<source lang="2bash">systemctl disable firewalld by issuing the command:<br>systemctl stop firewalld</lisource></ol> '''systemctl disable firewalld''' <ol><li value="32">Note that Install and enable the machine will not switch over to using ''IPTables services:<source lang="bash">yum install iptables-servicessystemctl enable iptables'' until you reboot, but you will be doing that shortly, so there is no need to do so right now.</lisource></ol>
===Configuring a Linux Gateway===