Jumat, 05 Maret 2010

Konfigurasi Firewall dan SE linux

Konfigurasi Firewall dan SE(Security-Enhanced Linux). : firewall dibutuhkan kalau kita saat mengaktifkan router, untuk latihan ini kita disable dulu.
[root@my ~]#/etc/rc.d/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@my ~]#chkconfig iptables off
[root@my~]#chkconfig ip6tables off
[root@my~]#vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#
enforcing - SELinux security policy is enforced.

#
permissive - SELinux prints warnings instead of enforcing.

#
disabled - SELinux is fully disabled.

SELINUX=disabled // rubah ini
# SELINUXTYPE= type of policy in use. Possible values are:
#
targeted - Only targeted network daemons are protected.

#
strict - Full SELinux protection.

SELINUXTYPE=targeted

Tidak ada komentar: