ล้างกฎ iptables - ล้าง / ลบกฎ iptables

ก่อนที่จะทำทำความสะอาดทั่วไป ให้แน่ใจว่าคุณรู้วิธีการกำหนดค่าได้ตามความต้องการของคุณ

ทูโทนช็อคชิพ / Debian กฎ iptables .

centos

บรรทัดคำสั่งต่อไปนี้ในการสั่งซื้อที่ระบุไว้:

1. iptables -P INPUT ACCEPT
2. iptables -P FORWARD ACCEPT
3. iptables -P OUTPUT ACCEPT
4. iptables -F
5. iptables -X
6. iptables -t nat -F
7. iptables -t nat -X
8. iptables -t mangle -F
9. iptables -t mangle -X

iptables – ช่วยด้วย :

-P (นโยบาย) = chain target

–Flush -F [chain] ลบกฎทั้งหมดใน chain หรือ chain ทั้งหมด

-table -t ตารางตารางเพื่อจัดการ (default: `ตัวกรอง ')

-X [chain] ลบเชนที่ผู้ใช้กำหนดเอง

ผู้ก่อตั้งและบรรณาธิการ Stealth Settingsตั้งแต่ปี พ.ศ.2006 จนถึงปัจจุบัน มีประสบการณ์ด้านระบบปฏิบัติการ Linux (โดยเฉพาะอย่างยิ่ง CentOS), Mac OS X, Windows XP> Windows 10 si WordPress (CMS)

วิธีการ » Linux » ล้างกฎ iptables - ล้าง / ลบกฎ iptables
แสดงความคิดเห็น