Zabbix iptables setup

  linux
sudo su


# enable zabbix on system boot
systemctl enable zabbix-server.service

# stop the server
systemctl stop zabbix-server

# check status
systemctl status zabbix-server.service

# start it
systemctl stop zabbix-server

# check status
systemctl status zabbix-server.service



# disable SELinux
sestatus
sudo setenforce 0
sudo shutdown -r now
sudo su
sestatus


# iptables
yum install iptables-services
systemctl enable iptables
systemctl start iptables


# delete all rules
iptables -F

# accept everything
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

iptables-save