CentOS firewall dikonfigurasi pada port 80
Di CentOS mesin virtual terinstal Apache tidak tertekan, solusinya adalah sebagai berikut
/ Sbin / iptables-I INPUT-p tcp - dport 80-j ACCEPT
/ Sbin / iptables-I INPUT-p tcp - dport 22-j ACCEPT
Dan kemudian menyimpan:
/ Etc / rc.d / init.d / iptables save
Restart komputer, firewall secara default sudah membuka port 80 dan 22
Tidak harus me-restart komputer Anda:
/ Etc / init.d / iptables me-restart
Firewall off, menutup layanannya ke:
Lihat informasi firewall:
/ Etc / init.d / iptables status
Matikan layanan firewall:
/ Etc / init.d / iptables berhenti
Ditutup untuk selamanya? Tidak tahu bagaimana metode permanen:
yang chkconfig-level 35 iptables off










































2161 Trackback (s)
You must be logged in to post a comment.