HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How to check command line requests routed thru TOR? (http://www.howtoforge.com/forums/showthread.php?t=57440)

len mccoy 29th May 2012 04:31

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?


All times are GMT +2. The time now is 12:24.

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