Security Basics mailing list archives

RE: Finding out IP address of external interface of web proxy


From: "Christian Campbell" <ccampbell () brueggers com>
Date: Thu, 1 Nov 2007 10:51:05 -0400

How do I find out the IP address of the external interface of my web
proxy?

Easy.. If someone were to create the web page below on an web server
somewhere on the Internet and connect to it, it would reveal the address.
Less work:  whatsmyip.com

<HTML>
<HEAD>
</HEAD>
<BODY>
<font face=arial size=-1>Your IP address is: 
<?php echo $_SERVER["REMOTE_ADDR"]; ?>
</font>
</BODY>
</HTML>

Christian


Christian Campbell
Systems Engineer
 
Bruegger's Enterprises Inc.
Desk: 802-652-9270
Cell: 802-734-5023
Fax: 802-660-4034
Universal:  802-735-0541
 
Email: ccampbell at brueggers dot com
 
PGP Public Key available via PGP keyservers or
http://www2.brueggers.com/pgp/ccampbell.html
 
"We all know Linux is great...
it does infinite loops in 5 seconds."
--Linus Torvalds



Attachment: smime.p7s
Description:


Current thread: