{ "meta": { "title": "Post-Install: Security | ProxMenux Documentation", "description": "Security options available in the ProxMenux Customizable post-install script. Currently a single option: disable the portmapper/rpcbind service to reduce the host's attack surface." }, "header": { "title": "Post-Install: Security", "section": "Settings post-install Proxmox" }, "intro": { "title": "What this category covers", "body": "Post-install security is limited to host hardening that is safe to apply unattended — things that disable services almost nobody needs and that can be undone from the Uninstall menu. Active security tooling (Fail2Ban for intrusion prevention, Lynis for auditing) lives under the dedicated Security entry on ProxMenux's main menu, not here in post-install." }, "rpcbind": { "heading": "Disable portmapper / rpcbind", "intro": "rpcbind (formerly portmap) is a service that maps RPC program numbers to network ports. It is a dependency for NFS and some legacy RPC-based tools. On a typical Proxmox host that is not acting as an NFS server, nothing uses it — and leaving it enabled keeps port 111/tcp listening on every interface.", "whyTitle": "Why it's worth disabling", "whyItems": [ "Reduces the host attack surface — one less listening service to worry about.", "Historically abused as a reflection/amplification vector in DDoS attacks. Disabling rpcbind removes that amplification factor for your host.", "Removes the noise it generates in logs and netstat / ss output, making real activity easier to spot." ], "nfsTitle": "Don't disable this if you use NFS", "nfsBody": "NFS server and NFS client rely on rpcbind to negotiate the ports used by mountd, statd, lockd, etc. If your Proxmox host either exports NFS shares to other machines or mounts NFS shares from a NAS, do not apply this option. Mounts will fail with mount.nfs: rpc.statd is not running or similar.", "runsTitle": "What ProxMenux runs", "runsOutro": "The package stays installed. ProxMenux records the original enabled/active state of both rpcbind.service and rpcbind.socket, then disables and stops both units so socket activation cannot bring the service back.", "verifyTitle": "Verification", "verifyBody": "After applying, confirm rpcbind is off and nothing is listening on port 111:", "reversibleTitle": "Restores the original service state", "reversibleBody": "This change is registered in installed_tools.json. Uninstall Optimizations restores each rpcbind unit to the enabled/disabled and active/inactive state captured before ProxMenux changed it; it does not assume that rpcbind was enabled on every host." }, "related": { "heading": "Related", "items": [ { "label": "Security menu", "href": "/docs/security", "tail": " — heavier hitters: Fail2Ban (intrusion prevention) and Lynis (audit)." }, { "label": "Lynis", "href": "/docs/security/lynis", "tail": " — audit the host to find more hardening opportunities." }, { "label": "Useful System Commands", "href": "/docs/help-info/system-commands", "tail": " — service status, journalctl, lynis audit reference." }, { "label": "Customizable Post-Install", "href": "/docs/post-install/customizable", "tail": " — back to the parent menu." } ] } }