You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Do not activate or run the services, because pfSense will take care of it.
50
+
51
+
52
+
* Alternatively, you can download the packages to install in the `Assets` part of the release, and run the following commands in the right order.
41
53
42
54
```console
43
55
# setenv IGNORE_OSVERSION yes
@@ -54,14 +66,26 @@ of FreeBSD, you will find .tar files in the release assets containing the packag
54
66
55
67
## Configuration
56
68
57
-
Once the package and its dependencies are installed, go to `Service/CrowdSec`. The options *Remediation Component*,
69
+
Once the package and its dependencies are installed, go to `Services/CrowdSec`. The options *Remediation Component*,
58
70
*Log Processor* and *Local API* should be enabled. Click Save.
59
71
60
-
With the size analogy, the default is a "Large", autonomous installation. For a "Medium", disable *Local API* and fill the fields in the *Remote LAPI* section. For a "Small", disable *Log Processor* too.
72
+

73
+
74
+
With the size analogy, the default is a "Large", autonomous installation.
75
+
76
+
For a "Medium", disable *Local API* and fill the fields in the *Remote LAPI* section.
77
+
78
+

79
+
80
+
For a "Small", disable *Log Processor* too.
61
81
62
82
CrowdSec on pfSense is fully functional from the command line but the web interface is read-only, with the exception of decision revocation (unban).
63
83
Most other actions require the shell or the [CrowdSec Console](https://app.crowdsec.net).
64
84
For simple things, `Diagnostics/Command Prompt` works as well as ssh.
@@ -135,18 +181,30 @@ If you are not running a LAPI or a Log Processor, some metrics are always empty.
135
181
136
182
You can see the Security Engine logs in `Status/System Logs/Packages/crowdsec`.
137
183
184
+
185
+

186
+
138
187
Other logs not shown in the UI are in `/var/log/crowdsec/crowdsec_api.log`
139
188
and `crowdsec-firewall-bouncer.log`.
140
189
141
190
142
191
## Service Management
143
192
144
193
Both services, Security Engine (crowdsec) and Remediation (crowdsec-firewall-bouncer) can be controlled from `Status/Services`.
194
+
195
+

196
+
197
+
145
198
The equivalent shell commands are `service crowdsec.sh start/stop/restart` and `service crowdsec_firewall.sh start/stop/restart`. Note the ending **.sh**!
146
199
147
200
## Viewing blocked IPs
148
201
149
-
You can see the tables of the blocked IPs in Diagnostics/Tables or from the shell, with the commands
202
+
You can see the tables of the blocked IPs in `Diagnostics/Tables`
203
+
204
+

205
+
206
+
207
+
Or from the shell, with the commands
150
208
`pfctl -T show -t crowdsec_blacklists` (IPv4) and `pfctl -T show -t crowdsec6_blacklists` (IPv6).
151
209
152
210
To show the same data with more context, use `cscli decisions list -a`.
0 commit comments