Hi, i have done step by step commands and assisted instructions
Downloaded firewall bouncer from github.
Generated API key, added to the yaml file in etc and have this error
mode: iptables
update_frequency: 10s
log_mode: file
log_dir: /var/log/
log_level: info
log_compression: true
log_max_size: 100
log_max_backups: 3
log_max_age: 30
api_url: http://127.0.0.1:8080/
#api_url: http://172.20.0.4:8080/
api_key: GKVEMxXBfWX7QjLPcYz3BQ
##H/1KB2gdHzuZvn3oxk/DuQ
insecure_skip_verify: false
disable_ipv6: true
deny_action: DROP
deny_log: false
supported_decisions_types:
- ban
#to change log prefix
#deny_log_prefix: "crowdsec: "
#to change the blacklists name
blacklists_ipv4: crowdsec-blacklists
blacklists_ipv6: crowdsec6-blacklists
#type of ipset to use
ipset_type: nethash
#if present, insert rule in those chains
iptables_chains:
- INPUT
# - FORWARD
# - DOCKER-USER
## nftables
nftables:
ipv4:
enabled: true
set-only: false
table: crowdsec
chain: crowdsec-chain
priority: -10
ipv6:
enabled: true
set-only: false
table: crowdsec6
chain: crowdsec6-chain
priority: -10
nftables_hooks:
- input
- forward
# packet filter
pf:
# an empty string disables the anchor
anchor_name: ""
prometheus:
enabled: false
listen_addr: 127.0.0.1
listen_port: 60601
Error:
āā Support: http://www.ubuntu.com/support
āā
āā A start job for unit crowdsec-firewall-bouncer.service has begun execution.
āā
āā The job identifier is 631692.
Jun 11 17:46:56 vm2-cloud-new systemd[3148944]: crowdsec-firewall-bouncer.service: Failed to execute /usr/local/bin/crowdsec-firewall-bouncer: Exec format error
Jun 11 17:46:56 vm2-cloud-new systemd[3148944]: crowdsec-firewall-bouncer.service: Failed at step EXEC spawning /usr/local/bin/crowdsec-firewall-bouncer: Exec format error
āā Subject: Process /usr/local/bin/crowdsec-firewall-bouncer could not be executed
āā Defined-By: systemd
āā Support: http://www.ubuntu.com/support
āā
āā The process /usr/local/bin/crowdsec-firewall-bouncer could not be executed and failed.
āā
āā The error number returned by this process is ERRNO.
Jun 11 17:46:56 vm2-cloud-new systemd[1]: crowdsec-firewall-bouncer.service: Control process exited, code=exited, status=203/EXEC
āā Subject: Unit process exited
āā Defined-By: systemd
āā Support: http://www.ubuntu.com/support
āā
āā An ExecStartPre= process belonging to unit crowdsec-firewall-bouncer.service has exited.
āā
āā The process' exit code is 'exited' and its exit status is 203.
Jun 11 17:46:56 vm2-cloud-new systemd[1]: crowdsec-firewall-bouncer.service: Failed with result 'exit-code'.
āā Subject: Unit failed
āā Defined-By: systemd
āā Support: http://www.ubuntu.com/support
āā
āā The unit crowdsec-firewall-bouncer.service has entered the 'failed' state with result 'exit-code'.
Jun 11 17:46:56 vm2-cloud-new systemd[1]: Failed to start The firewall bouncer for CrowdSec.
āā Subject: A start job for unit crowdsec-firewall-bouncer.service has failed
āā Defined-By: systemd
āā Support: http://www.ubuntu.com/support
āā
āā A start job for unit crowdsec-firewall-bouncer.service has finished with a failure.
Any ideas?
port 8080 is listening, metabase dashboard is working