Bật/Tắt tường lửa Iptables trên VPS Linux - How To Disable The Iptables Firewall in Linux

Hình đại diện của thành viên
#1 16/10/2016 01:28
I need to disable firewall in Linux for testing purpose. I’m using CentOS and RHEL version 4.4 / 5 / 6. How do I disable the firewall in Linux?

Bật/Tắt tường lửa Iptables trên VPS Linux - How To Disable The Iptables Firewall in Linux

A Linux firewall is software based firewall that provides protection between your server (workstation) and damaging content on the Internet or network. It will try to guard your computer against both malicious users and software such as viruses/worms.

Task: Disable / Turn off Linux Firewall (Red hat/CentOS/Fedora Core)

Type the following two commands (you must login as the root user):
Mã:
/etc/init.d/iptables save
/etc/init.d/iptables stop


Turn off firewall on boot:
Mã:
chkconfig iptables off


Task: Enable / Turn on Linux Firewall (Red hat/CentOS/Fedora Core)

Type the following command to turn on iptables firewall:
Mã:
/etc/init.d/iptables start


Turn on firewall on boot:
Mã:
chkconfig iptables on


View more: http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/
(Cốc Cốc 58.3.126)
PM|Trích|Like|Sửa|Xóa|Báo cáo|Cảnh cáo
Sửa lần cuối: nghiammo1992 18/10/2016 17:14
_______________
Diễn đàn chia sẻ kiến thức máy tính:
KETNOI123.COM

Ấn hiện ra để xem chữ ký của mình:

Gửi bài Bài viết này đã bị xóa bởi Dajgiachandat vào lúc 12/07/2017 21:15.
Trả lời nhanh

Chủ đề tương tự
Ai đang trực tuyến?