Enable Masquerade to allow port forwarding sudo vi /etc/ufw/before.rules For TFTP forwarding, add the following lines at the top before the *filter section *nat :PREROUTING ACCEPT [0:0] -A PREROUTING -p udp --dport 69 -j REDIRECT --to-port 6969 COMMIT Apply the firewall changes sudo ufw allow in 69/udp sudo ufw allow in 6969/udp sudo ufw reload