Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st May 2012, 21:01
nzimas nzimas is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Question How To Set Up A TOR Middlebox Routing All VirtualBox Virtual Machine Traffic Over

http://www.howtoforge.com/how-to-set...he-tor-network


I have followed the tutorial step by step.
TOR is working a treat and so is the virtual network interface VB bridges through.
dnsmasq seems to be working fone too.
middlebox.sh has been executed normally. on the HM.

Still I can't reach out to the internet from the VM.

When running route -n on the VM I get this:

Quote:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.16.0.1 0.0.0.0 UG 100 0 0 eth0
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Whilst ifconfig says:
Quote:
eth0 Link encap:Ethernet HWaddr 08:00:27:41:34:20
inet addr:172.16.0.133 Bcast:172.16.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe41:3420/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:195 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22078 (22.0 KB) TX bytes:16012 (16.0 KB)
Furthermore:
Quote:
root@serverdawg:/home/thedawg# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_req=1 ttl=64 time=0.343 ms
64 bytes from 192.168.0.2: icmp_req=2 ttl=64 time=0.374 ms
64 bytes from 192.168.0.2: icmp_req=3 ttl=64 time=0.391 ms
^C
--- 192.168.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.343/0.369/0.391/0.025 ms
root@serverdawg:/home/thedawg# ping google.com
PING google.com (173.194.35.166) 56(84) bytes of data.
^C
--- google.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9050ms

Last edited by nzimas; 1st May 2012 at 21:03. Reason: More details
Reply With Quote
Sponsored Links
  #2  
Old 3rd May 2012, 22:21
nzimas nzimas is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
 
Wink

Installing Ubuntu from scratch on the VM solved the issue.
Now I am investigating a method to anonymyze UDP traffic.
Reply With Quote
Reply

Bookmarks

Tags
gateway, tor, virtualbox

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
Migration from a virtual machine to physical sonoffett Technical 3 15th September 2007 16:09
ubuntu on virtual machine caspert_ghost Installation/Configuration 4 20th May 2007 16:59
Ubuntu-Server 6.10 As A Firewall/Gateway Vpn Server Problem steveomach3ww HOWTO-Related Questions 6 26th March 2007 13:35
Problem setting up LVS (load-balancer, linux virtual server) in Xen Virtual Machine cifroes Server Operation 1 7th November 2006 16:55


All times are GMT +2. The time now is 07:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.