File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -563,10 +563,6 @@ crowdsec_menu() {
563563 # Allow incoming connections on the new SSH port
564564 run_command ufw allow $new_port2
565565 run_command ufw allow 8081
566- # Check if the host is a Proxmox host
567- if dpkg -l | grep -q pve-manager; then
568- run_command ufw allow 8006
569- fi
570566 run_command apt-get install curl -y
571567 run_command curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | bash
572568 run_command apt-get install crowdsec -y
@@ -595,8 +591,12 @@ crowdsec_menu() {
595591
596592
597593 # Crowdsec-Bouncer-installation
598- run_command apt-get install crowdsec-firewall-bouncer-iptables -y
599-
594+ if dpkg -l | grep -q pve-manager; then
595+ run_command ufw allow 8006
596+ run_command apt-get install crowdsec-firewall-bouncer -y
597+ else
598+ run_command apt-get install crowdsec-firewall-bouncer-iptables -y
599+ fi
600600 # Crowdsec-Firewall-Bouncer-Iptables-configuration
601601 firewall_bouncer_config=" /etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml"
602602
You can’t perform that action at this time.
0 commit comments