Setup a wireguard VPN to route traffic from a VPS to your local machine. Based from this guide.
auto eth0 iface eth0 inet static . . . dns-nameservers 1.1.1.1 9.9.9.9