import type { Metadata } from "next" import { Shield } from "lucide-react" import CopyableCode from "@/components/CopyableCode" export const metadata: Metadata = { title: "ProxMenux Post-Install: Security Settings", description: "Comprehensive guide to Security Settings in the ProxMenux post-install script for enhancing Proxmox VE security.", openGraph: { title: "ProxMenux Post-Install: Security Settings", description: "Comprehensive guide to Security Settings in the ProxMenux post-install script for enhancing Proxmox VE security.", type: "article", url: "https://macrimi.github.io/ProxMenux/docs/post-install/security", images: [ { url: "https://macrimi.github.io/ProxMenux/security-settings-image.png", width: 1200, height: 630, alt: "ProxMenux Post-Install Security Settings", }, ], }, twitter: { card: "summary_large_image", title: "ProxMenux Post-Install: Security Settings", description: "Comprehensive guide to Security Settings in the ProxMenux post-install script for enhancing Proxmox VE security.", images: ["https://macrimi.github.io/ProxMenux/security-settings-image.png"], }, } function StepNumber({ number }: { number: number }) { return (
The Security Settings category focuses on enhancing the security of your Proxmox VE installation. These settings are crucial for protecting your virtualization environment from potential threats and unauthorized access.
This optimization disables the portmapper/rpcbind service for improved security.
Why it's beneficial: Disabling unnecessary services like portmapper/rpcbind reduces the attack surface of your system. This service is often not needed in modern environments and can be a potential security risk if left enabled.
This adjustment automates the following commands:
Lynis is a comprehensive security auditing tool that analyzes your system, detects vulnerabilities, and provides recommendations for improving security.
How it works: Lynis scans the system and evaluates various security parameters, including:
Installation method: ProxMenux now installs the latest version of Lynis directly from the official GitHub repository to ensure you have the most up-to-date security scanning capabilities.
This adjustment automates the following process:
To run a system security audit, execute:
To check the installed Lynis version:
Fail2Ban enhances security by monitoring login attempts and banning malicious IPs that attempt unauthorized access.
How it works: Fail2Ban analyzes logs, detects repeated authentication failures, and automatically bans the source IP address to prevent further attacks.
Fail2Ban is configured with the following security policies:
/var/log/auth.log
for SSH and /var/log/daemon.log
{" "}
for Proxmox
This adjustment automates the following command:
Check active Fail2Ban jails:
You can manually unban an IP if needed:
Fail2Ban automatically protect your Proxmox VE and SSH access, reducing the risk of brute-force attacks.
All of these optimizations are automatically applied when selected in the Security section. This automation ensures that these beneficial settings are applied consistently and correctly, saving time and reducing the potential for human error during manual configuration.