Post-Install: Security

Settings post-install Proxmox~5 min

What this category covers

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.

Disable portmapper / rpcbind

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.

Why it's worth disabling

  • 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.

Don't disable this if you use NFS

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.

What ProxMenux runs

# Stop and disable both activation paths
systemctl disable --now rpcbind.socket rpcbind.service

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.

Verification

After applying, confirm rpcbind is off and nothing is listening on port 111:

systemctl is-active rpcbind.service rpcbind.socket
systemctl is-enabled rpcbind.service rpcbind.socket
ss -tulpn | grep ':111 '          # should return nothing

Restores the original service state

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