Home Manage Firewall Rules di pfSense
Post
Cancel

Manage Firewall Rules di pfSense

pfSense adalah firewall dan router open source yang dapat membantu meminimalisir beberapa ancaman atau serangan dari luar serta fitur lain yang dapat dimanfaatkan seperti load balancing, multi WAN, dan lain-lain.

Panduan kali ini akan membahas cara mengelola firewall rules di pfSense melalui CLI dengan perintah pfctl

Cek Tracking ID

1
pfctl -s rules -vv | grep -i 1000000351

List rule firewall webConfiguratorlockout

1
pfctl -t webConfiguratorlockout -T show

Cek informasi global pada semua tables

1
pfctl -vvsTables

Add entry ke table webConfiguratorlockout

1
pfctl -t webConfiguratorlockout -T add 192.168.0.5

Delete entry dari table webConfiguratorlockout

1
pfctl -t webConfiguratorlockout -T delete 192.168.0.5

Hapus semua entry pada table webConfiguratorlockout

1
pfctl -t webConfiguratorlockout -T flush

Find ip address 132.145.9.5 pada table

1
pfctl -t IP_bad -T test 132.145.9.5
This post is licensed under CC BY 4.0 by the author.