• Joined on 2024-01-13

crowdsec-legacy-firewall-bouncer (nft-dev)

Published 2025-05-25 17:26:03 +02:00 by AR2000 in AR2000/crowdsec-legacy-firewall-bouncer

Installation

docker pull gitea.ar2000.me/ar2000/crowdsec-legacy-firewall-bouncer:nft-dev
sha256:c3724c29fb5e7a95f79d1ebbdd28174b0d29f1e491eef7a3e686b3b88e6663b1

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:ad85a9d7b0a74c2140bd51d9c4559cca392991e0c95f84cb139347348e5d1f9a in /
CMD ["/bin/bash"]
RUN /bin/sh -c apt update apt upgrade -y apt install iptables jq -y # buildkit
RUN /bin/sh -c update-alternatives --set iptables /usr/sbin/iptables-nft # buildkit
RUN /bin/sh -c update-alternatives --set ip6tables /usr/sbin/ip6tables-nft # buildkit
ARG IPTABLES_MODE=nft
RUN |1 IPTABLES_MODE=nft /bin/sh -c mkdir -p /etc/crowdsec/bouncers # buildkit
COPY /app/cs-custom-bouncer/crowdsec-custom-bouncer /usr/bin/crowdsec-custom-bouncer # buildkit
COPY /app/cs-custom-bouncer/config/crowdsec-custom-bouncer.yaml /crowdsec-custom-bouncer.yaml # buildkit
RUN |1 IPTABLES_MODE=nft /bin/sh -c sed -i "s/total_retries: .*/total_retries: 1/g" /crowdsec-custom-bouncer.yaml # buildkit
ADD --chmod=770 bouncer.sh /bouncer.sh # buildkit
ENV BINARY_PATH=/bouncer.sh
LABEL me.ar2000.gitea.buildargs.iptablesmode=nft
CMD ["/usr/bin/crowdsec-custom-bouncer" "-c" "/crowdsec-custom-bouncer.yaml"]

Labels

Key Value
me.ar2000.gitea.buildargs.iptablesmode nft
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-05-25 17:26:03 +02:00
0
OCI / Docker
linux/amd64
36 MiB
Versions (6) View all
legacy 2025-05-25
latest 2025-05-25
nft 2025-05-25
dev 2025-05-25
nft-dev 2025-05-25