https://github.com/onair-santa/crowdsec-1-click
Simple 1-click install Crowdsec
https://github.com/onair-santa/crowdsec-1-click
bash crowdsec debian linux nftables shell shell-script ubuntu vps
Last synced: 6 months ago
JSON representation
Simple 1-click install Crowdsec
- Host: GitHub
- URL: https://github.com/onair-santa/crowdsec-1-click
- Owner: Onair-santa
- Created: 2024-04-13T03:19:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-13T04:12:22.000Z (over 1 year ago)
- Last Synced: 2024-04-13T16:41:42.979Z (over 1 year ago)
- Topics: bash, crowdsec, debian, linux, nftables, shell, shell-script, ubuntu, vps
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##
(Debian, Ubuntu) Crowdsec-1-click
### Crowdsec - is the best analog Fail2ban, the open-source security solution for youre server
### Bash script installs Crowdsec and settings file, and installs nftables to block IP addresses
#### 💠Ensure that the `sudo` and `wget` packages are installed on your system:
```
apt install -y sudo wget
```#### 💠Root Access is Required. If the user is not root, first run:
```
sudo -i
```#### 💠Then:
```
wget "https://raw.githubusercontent.com/Onair-santa/Crowdsec-1-click/main/install.sh" -O install.sh && chmod +x install.sh && bash install.sh
```
#### It performs the following tasks:
- Remove firewalld, ufw or iptables
- Install nftables
- Open ports 22, 443, 80
- Install Crowdsec
- install config Crowdsec
- Starting Crowdsec
#### Config Crowdsec :
- config /etc/crowdsec/config.yaml (online community (blocked IP) base is disabled)
- bounsers list: firewall-bouncer
- Bucket list: ssh-bf, ssh-slow-bf
- Status command:
```
cscli metrics
cscli decisions list
cscli alerts list
cscli bouncers list
```#### 💠Thanks and more info
https://github.com/crowdsecurity/crowdsec