Page 1 of 1

Hide IP?

Posted: Wed Apr 06, 2005 12:18 pm
by Dale
Is their a way in PHP to view a site (possibly with a IFRAME) but with your IP Address cloaked? So the sit eyou're visiting in the IFRAME doesn't know your IP address is (eg;) 123.456.78.90 ??

Posted: Wed Apr 06, 2005 12:32 pm
by John Cartwright
search "+proxy +masking" on google

but why do you want to hide IP addresses :?

Posted: Wed Apr 06, 2005 12:34 pm
by Dale
Jcart wrote:but why do you want to hide IP addresses :?

I just want to test a few things, and its not for dodgy reasons like naughty sites :p

Re: Hide IP?

Posted: Wed Apr 06, 2005 2:03 pm
by Roja
Dale wrote:Is their a way in PHP to view a site (possibly with a IFRAME) but with your IP Address cloaked? So the sit eyou're visiting in the IFRAME doesn't know your IP address is (eg;) 123.456.78.90 ??
Its a little unclear what you mean.

For example, lets say you have a server.

You want to display whatsyourip.com FROM your server, without displaying the IP of:
You?
Your server?

If you want to hide the IP of your server, then simply use an iframe and include the content directly, which will instead show the IP of the visitor (ie, you).

If you want to hide the IP of YOU, then have your server scrape the contents from whatsyourip.com, and display it. You can use snoopy, or any number of other php libraries to grab the contents of a site for just such a purpose.

Finally, if you want to hide BOTH, then you can use an anonymizing proxy in your browser, and iframe the contents directly from your server.

That covers all the scenarios that you didnt clearly specify. :)

...

Posted: Wed Apr 06, 2005 3:17 pm
by Calimero
Just a quick one:

"Roja" wrote:

If you want to hide the IP of your server, then simply use an iframe and include the content directly, which will instead show the IP of the visitor (ie, you).
Any example - code - how do you do this - what did you mean - my brain didn't do well in this paragraph.

Thanks Ahead !

Posted: Wed Apr 06, 2005 3:20 pm
by feyd
rough example.

Code: Select all

...
<iframe src=&quote;http://some.remote/file_on_another_server.html&quote; />
...