View Single Post
  #1  
Old 29th May 2012, 05:31
len mccoy len mccoy is offline
Junior Member
 
Join Date: May 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to check command line requests routed thru TOR?

I followed the tutorial here on routing all guest OS Virtualbox traffic through TOR using middlebox.sh and it seems to be working well. The web browsers on the guest OS all report IP's in Europe when I test with seemyip.com and others. The host OS shows my real IP when going to the same sites.

But I initiate a lot of requests from the Linux command line and I haven't been able to confirm to my satisfaction that these are routing through TOR, though I have no reason to think they do not.

When I use this command I get no output from the guest OS, but my real IP from the host OS:

dig myip.opendns.com @resolver1.opendns.com +short

This bash file gives no output from either OS:

#!/bin/bash

echo Your external IP Address is:
wget http://Www.whatismyip.com -O - -o /dev/null | grep '<TITLE>' | sed -r 's/<TITLE>WhatIsMyIP\.com \- //g' | sed -r 's/<\/TITLE>//g'

exit 0

Suggestions?
Reply With Quote
Sponsored Links