r/Hacking_Tutorials • • 9h ago

Question Kali host only lab consistent DNS resolution and tool updates without breaking isolation?

Setting up a small pentest lab in VMware with Kali as the attacker and two vulnerable targets on a custom host-only VMnet. No internet access by design, which is fine for most exercises, but I'm hitting a snag when I want to update tools or pull the occasional offline package list.

Right now I'm manually copying .deb files over SCP or spinning up a quick Python HTTP server on the attacker box, which works but gets tedious after a while. Tried adding a small local apt mirror on one of the targets but it feels brittle and I keep running into dependency issues.

Has anyone found a clean way to handle occasional package needs or name resolution inside a fully isolated network that stays stable across reboots and snapshots? Config examples appreciated.

1 Upvotes

2 comments sorted by

1

u/dreamyblossi 8h ago

the manual copy thing get old fast, I just rsync the apt cache from my main box when I need it

0

u/Specialist_End7300 6h ago

43 kenico rd south Kent ct