Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 1.87 KB

README.md

File metadata and controls

87 lines (60 loc) · 1.87 KB

Create Your Custom UTM with Your Old Server

1. Choose a Lightweight Linux Distribution

Recommended OS:

  • Debian or Ubuntu Server (minimal installation) Both distributions are stable and widely supported by the community, making them ideal for setting up your UTM.

Note 1- First open Script and chnage Email Address with Valid Mail

2. Configuration Commands

Firewall Configuration

freeutm --configure --firewall   # Configure firewall tools

Kernel Parameters Configuration

freeutm --configure --kernel    # Configure kernel parameters

Fail2Ban Configuration

freeutm --configure --service-manager   # Configure Fail2Ban

IDS/IPS Configuration (Zeek, Snort, Maltrail)

freeutm --configure --ids/ips   # Configure Zeek, Snort, and Maltrail

Antivirus Configuration (ClamAV, Maldet, RKhunter, chkrootkit, Yara)

freeutm --configure --av   # Configure ClamAV, Maldet, RKhunter, chkrootkit, and Yara

Monitoring Configuration (Netdata)

freeutm --configure --monitoring   # Configure Netdata for system monitoring

System Hardening

freeutm --configure --hardening   # Harden system security settings

Scan system with AV

freeutm --av --scan

Update Antivirus Database

freeutm --av --update   # Update antivirus database

check Vulnerability

freeutm --vulcheck 

Adding Custom Rule to IDS/IPS

freeutm --ids/ips --add-rule '<rule>'   # Add new rule to local.rules

3. General Help

If you need additional guidance or help with commands, use the following:

freeutm --help   # Display help information

With these steps, you can set up a comprehensive UTM solution tailored to your server's needs. Each configuration command enhances your server’s security and monitoring capabilities.