I've been trying to follow this tutorial: the goal is to have all connections made from my debian virtual machine, pass through Tor installed on my ubuntu host machine. The host machine is a freshly installed Xubuntu 14.04 running virtual box.
I have followed each step of the tutorial as well as all the variants found around the web.
My VM successfully obtains an IP in the expected range but when I try to ping a host, after correctly resolving its IP address, the packets get invariably lost.
This is my HM route table:
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 vnet0 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 vnet0 192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
My HM ifconfig vnet0:
vnet0 Link encap:Ethernet HWaddr 66:4e:0b:d9:d8:26 inet addr:172.16.0.1 Bcast:172.16.0.255 Mask:255.255.255.0 inet6 addr: fe80::644e:bff:fed9:d826/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:91 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:11165 (11.1 KB)
My VM route table:
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
After encountering other problems I manged to get this far with the little knowledge I gained from a networking course followed at Uni, but from now I really wouldn't know where to head even to start debugging the problem.
Could you please help me out?