Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   2. Tạo User và cấu hình cơ bản trên Centos 5 (http://quantrinet.com/forum/forumdisplay.php?f=203)
-   -   Firewall va Selinux! (http://quantrinet.com/forum/showthread.php?t=3757)

hoctinhoc 02-10-2009 09:55 PM

Firewall va Selinux!
 
Firewall va Selinux

Firewall (Iptable) và Selinux là 2 công cụ bảo mật được tích hợp sẳn vào Linux

đôi khi 2 công cụ này củng gây chúc phiền tói cho bạn và nếu Firewall đã được

mở trên Router thì chúng ta nên tắt 2 công cụ này đi:

1. Tắt Firewall IPTABLE

Trích dẫn:


[root@ns ~]#/etc/rc.d/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@ns ~]#chkconfig iptables off
[root@ns ~]#chkconfig ip6tables off





2. Tắt SElinux (Security-Enhanced Linux)


Trích dẫn:


[root@ns ~]#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 // change
# SELINUXTYPE= type of policy in use. Possible values are:
#targeted - Only targeted network daemons are protected.

#strict - Full SELinux protection.

SELINUXTYPE=targeted

Chúc các bạn thành công

:battay:

http://quantrinet.com/ads/quantrinet1.png


Bây giờ là 02:07 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.