Jump to content

VPN in virtual machine, firewall to prevent IP leak


butler360

Recommended Posts

Posted

OK, here's my crazy setup:

Ubuntu 10.04 running in VMWare Player on Windows 7. Connecting to PPTP VPN inside of the VM. Using Comodo firewall on Windows 7 to block VMWare on all connections, IP, TCP, UDP, except for the IP range of the VPN. This seems to work. Torrents download when the VPN is connected, they stop immediately when the VPN disconnects.

The wildcard here is DHT. I've read DHT connects differently and so it can expose your IP address. In my setup, though, whether DHT is enabled or not, the torrent will not download if the VPN is disconnected. But I notice that there are more connections with svchost.exe when DHT is enabled.

Ideally, I'd like to not leak my IP address, but also not have to disable DHT. My thinking is that if I put the VPN in a VM, it will connect differently and that way DHT can be controlled (meaning all connections come through vmnat.exe, versus doing the same blocking of utorrent.exe on Windows 7 where utorrent will be able to make direct connections through svchost.exe). Not that that's necessarily correct, but it seems to sort of work that way.

So will that setup (with DHT enabled) leak my IP address?

  • 11 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...