I have installed a new AlmaLinux 9.3 VM to use to provision new VMs on a Proxmox hypervisor. I have installed dhcp-server, tftp-server, httpd, and vsftpd and have followed several online guides in order to configure it as a PXE server.
Everything seems work as expected except ftfp. I can connect as tftp 127.0.0.1 and get my files however when I try to connect via my IP address it starts but all transfers fail
[kickstart html]# netstat -antup | grep 69
udp6 0 0 :::69 :::* 1/systemd
[kickstart html]# firewall-cmd --list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens18
sources:
services: cockpit dhcp dhcpv6-client ftp http https ssh tftp
ports: 10021-10031/tcp 80/tcp 67/udp 68/udp 546/udp 547/udp 69/udp 69/tcp
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
[kickstart html]# systemctl status -l dhcpd tftp
â—Ź dhcpd.service - DHCPv4 Server Daemon
Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-02-06 10:07:49 CET; 3h 48min ago
Docs: man:dhcpd(8)
man:dhcpd.conf(5)
Main PID: 50070 (dhcpd)
Status: "Dispatching packets..."
Tasks: 1 (limit: 23090)
Memory: 4.6M
CPU: 237ms
CGroup: /system.slice/dhcpd.service
└─50070 /usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid
Feb 06 10:08:13 kickstart.test.com dhcpd[50070]: DHCPACK on 10.15.231.172 to 02:00:00:22:76:f2 via ens18
Feb 06 10:15:36 kickstart.test.com dhcpd[50070]: reuse_lease: lease age 9333 (secs) under 25% threshold, reply with unalte>
Feb 06 10:15:36 kickstart.test.com dhcpd[50070]: DHCPDISCOVER from 02:00:00:22:76:f2 via ens18
Feb 06 10:15:36 kickstart.cloudboxservices.com dhcpd[50070]: DHCPOFFER on 10.15.231.172 to 02:00:00:22:76:f2 via ens18
Feb 06 10:15:37 kickstart.test.com dhcpd[50070]: reuse_lease: lease age 9334 (secs) under 25% threshold, reply with unalte>
Feb 06 10:15:37 kickstart.test.com dhcpd[50070]: DHCPDISCOVER from 02:00:00:22:76:f2 via ens18
Feb 06 10:15:37 kickstart.test.com dhcpd[50070]: DHCPOFFER on 10.15.231.172 to 02:00:00:22:76:f2 via ens18
Feb 06 10:15:39 kickstart.test.com dhcpd[50070]: reuse_lease: lease age 9336 (secs) under 25% threshold, reply with unalte>
Feb 06 10:15:39 kickstart.test.com dhcpd[50070]: DHCPREQUEST for 10.15.231.172 (10.15.231.175) from 02:00:00:22:76:f2 vi>
Feb 06 10:15:39 kickstart.test.com dhcpd[50070]: DHCPACK on 10.15.231.172 to 02:00:00:22:76:f2 via ens18
â—‹ tftp.service - Tftp Server
Loaded: loaded (/usr/lib/systemd/system/tftp.service; indirect; preset: disabled)
Active: inactive (dead) since Tue 2024-02-06 12:24:20 CET; 1h 32min ago
Duration: 15min 97ms
TriggeredBy: â—Ź tftp.socket
Docs: man:in.tftpd
Process: 55231 ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot (code=exited, status=0/SUCCESS)
Main PID: 55231 (code=exited, status=0/SUCCESS)
CPU: 6ms
Feb 06 12:09:20 kickstart.test.com systemd[1]: Started Tftp Server.
Feb 06 12:24:20 kickstart.test.com systemd[1]: tftp.service: Deactivated successfully.
lines 1-36/36 (END)
[kickstart html]# tftp 10.15.231.172
tftp> get tftpboot/pxelinux.0
Transfer timed out.
tftp>
[kickstart html]# tftp 127.0.0.1
tftp> get tftpboot/pxelinux.0
tftp> quit
[kickstart html]# ll pxelinux.0
-rw-r--r--. 1 root root 42686 Feb 6 14:01 pxelinux.0
I have tried stopping the firewall and disabling SELinux but nothing helps. Does anyone have any ideas?