Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OndrejValenta/b963dadd20c15c14b50828eba8a413af to your computer and use it in GitHub Desktop.
Save OndrejValenta/b963dadd20c15c14b50828eba8a413af to your computer and use it in GitHub Desktop.
Setup Rocky Linux VM in Proxmox to be able to receive any TCP/ICMP packets

These steps are (probably) only applicable for NON QEMU installation of Rocky Linux VM

After installation of Rocky Linux on our Proxmox as Virtual machine (not Linux container) the machine was not accessible from outside world with SSH or ICMP

The solution was to set ipv4.gateway properly.

nmcli con mod ens18 ipv4.method "manual" ipv4.addresses "10.30.0.87/24" ipv4.dns "10.30.0.2" ipv4.gateway "10.30.0.1"

Also, when /etc/hostname is not empty and that domain name cannot be resolved, no packet is leaving the server. Not sure why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment