CoreBSD Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
coreprojects:pf [2008/08/23 13:37] hkycoreprojects:pf [2025/10/25 17:09] (current) – external edit 127.0.0.1
Line 17: Line 17:
 $ sudo pfctl -e $ sudo pfctl -e
 $ sudo ifconfig pflog0 up $ sudo ifconfig pflog0 up
 +</code>
 +
 +untuk menonaktifkan pf di gunakan perintah berikut
 +<code>
 +pfctl -d
 +</code>
 +
 +beberapa perintah pfctl yang sering digunakan
 +<code>
 +# pfctl -f /etc/pf.conf    Memuat file konfigurasi pf
 +# pfctl -nf /etc/pf.conf   Memparsing akan tetapi tidak menjalankanya
 +# pfctl -Nf /etc/pf.conf   Manya memuat rules nat
 +# pfctl -Rf /etc/pf.conf   Hanya memuat rules filter
 +
 +# pfctl -sn                Menampilkan rules NAT
 +# pfctl -sr                Menampilkan rules filter
 +# pfctl -ss                Menampilkan tables stat
 +# pfctl -sa                Menampilkan semuanya yang bisa di tampilkan
 </code> </code>
  
coreprojects/pf.1219473477.txt.gz · Last modified: (external edit)