ติดตั้ง Firehol ภายใน 10 นาที

จาก Research 2549, สารานุกรมฟรี

<<Back
Firehol เป็นโปรแกรมสำหรับสร้างค่าให้ iptables ซึ่งเป็น stateful packet filtering ง่ายต่อการใช้งานทำให้ไม่ต้องยุ่งเกี่ยวกับกฏที่ซับซ้อนของ iptables การติดตั้งง่ายมากด้วยการใช้ apt-get

apt-get install firehol

แก้ไขไฟล์ /etc/default/firehol

vi /etc/default/firehol

โดยให้เริ่ม firehol เมื่อเปิดเครื่อง

START_FIREHOL=YES

แก้ไขคอนฟิกของ Firehol

vi /etc/firehol/firehol.conf

แก้ค่าให้มีค่าดังต่อไปนี้ (เพิ่มหรือลดการให้บริการในส่วนของ server ตามความต้องการ)

version 5
# Accept all client traffic on any interface
interface any internet
       protection strong
       server "icmp ping ICMP ssh http https telnet samba webmin dns dcc echo smtp" accept
       client all accept

รายละเอียดเพิ่มเติม http://firehol.sourceforge.net/invoking.html
Source: http://www.howtoforge.com/the-perfect-spamsnake-ubuntu-8.04-p7</fon>

Edit /etc/default/firehol

vi /etc/default/firehol
Personal tools