# Debian 12 crowdsec-firewall-bouncer-iptables

**URL:** <https://discourse.crowdsec.net/t/debian-12-crowdsec-firewall-bouncer-iptables/1712>\
**Category:** crowdsec\
**Created:** [March 22, 2024, 8:11am UTC](https://discourse.crowdsec.net/t/debian-12-crowdsec-firewall-bouncer-iptables/1712 "2024-03-22T08:11:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![papahausa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/papahausa/32/823_2.png) [@papahausa](https://discourse.crowdsec.net/u/papahausa)\
**Post date:** [March 22, 2024, 8:11am UTC](https://discourse.crowdsec.net/t/debian-12-crowdsec-firewall-bouncer-iptables/1712/1 "2024-03-22T08:11:54Z")

</div>

Hello.  
After this command i got error.  
apt install crowdsec-firewall-bouncer-iptables

root@observer ~ # apt install crowdsec-firewall-bouncer-iptables  
Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
The following NEW packages will be installed:  
crowdsec-firewall-bouncer-iptables  
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.  
Need to get 0 B/3,693 kB of archives.  
After this operation, 12.7 MB of additional disk space will be used.  
Selecting previously unselected package crowdsec-firewall-bouncer-iptables.  
(Reading database … 38401 files and directories currently installed.)  
Preparing to unpack …/crowdsec-firewall-bouncer-iptables\_0.0.28\_amd64.deb …  
Unpacking crowdsec-firewall-bouncer-iptables (0.0.28) …  
Setting up crowdsec-firewall-bouncer-iptables (0.0.28) …  
cscli/crowdsec is present, generating API key  
API Key successfully created  
Created symlink /etc/systemd/system/multi-user.target.wants/crowdsec-firewall-bouncer.service → /etc/systemd/system/crowdsec-firewall-bouncer.service.  
Job for crowdsec-firewall-bouncer.service failed because the control process exited with error code.  
See “systemctl status crowdsec-firewall-bouncer.service” and “journalctl -xeu crowdsec-firewall-bouncer.service” for details.  
dpkg: error processing package crowdsec-firewall-bouncer-iptables (–configure):  
installed crowdsec-firewall-bouncer-iptables package post-installation script subprocess returned error exit status 1  
Errors were encountered while processing:  
crowdsec-firewall-bouncer-iptables  
E: Sub-process /usr/bin/dpkg returned an error code (1)

* * *

root@observer ~ # systemctl status crowdsec-firewall-bouncer.service

● crowdsec-firewall-bouncer.service - The firewall bouncer for CrowdSec  
Loaded: loaded (/etc/systemd/system/crowdsec-firewall-bouncer.service; enabled; preset: enabled)  
Active: activating (start-pre) since Wed 2024-03-20 18:26:38 CET; 1s ago  
Cntrl PID: 139109 (crowdsec-firewa)  
Tasks: 6 (limit: 154413)  
Memory: 6.9M  
CPU: 19ms  
CGroup: /system.slice/crowdsec-firewall-bouncer.service  
└─139109 /usr/bin/crowdsec-firewall-bouncer -c /etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml -t

Mar 20 18:26:38 observer systemd[1]: Starting crowdsec-firewall-bouncer.service - The firewall bouncer for CrowdSec…

* * *

journalctl -xeu crowdsec-firewall-bouncer.service

show:

> **[Screenshot](https://prnt.sc/L2NCiIGJFItt)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![iiAmLoz](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/iiamloz/32/386_2.png) [@iiAmLoz](https://discourse.crowdsec.net/u/iiAmLoz)\
**Post date:** [March 22, 2024, 8:13am UTC](https://discourse.crowdsec.net/t/debian-12-crowdsec-firewall-bouncer-iptables/1712/2 "2024-03-22T08:13:20Z")

</div>

User self resolved via [discord thread](https://discord.com/channels/921520481163673640/1220065441184092230/1220065441184092230)

Here TLDR; CrowdSec had a port conflict and was not running. Upon changing the port and then reflecting that within the bouncer configuration it worked fine.

---

<div class="post-metadata">

**Author:** ![papahausa](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/papahausa/32/823_2.png) [@papahausa](https://discourse.crowdsec.net/u/papahausa)\
**Post date:** [March 23, 2024, 7:51am UTC](https://discourse.crowdsec.net/t/debian-12-crowdsec-firewall-bouncer-iptables/1712/3 "2024-03-23T07:51:51Z")

</div>

Thanks. I solved this.
