############################################################ # Searchable Keywords: What is my IP NAT nat address # ############################################################ Summary: This link will expose the browser, your externally facing NAT address and your originating port. This is not a hack or a vulnerability. These things are expose to every web site you visit. In a lot of cases the site you are going to needs to know these things to compile its response to your request. Also, sometimes you need to know what your NAT(network address translation) address is. I have used this perl and cgi script for a long time. I just never put it up on my site before ` because there is always some jackass that abuses it. If it does get abusedI'll just hide it or take it down. 7/12/21 # Use this tool to determine your external NAT address: http://www.leftlogical.net:16000/ What is my NAT address These are the variables the perl script builds after you click "Click here to display NAT address". Example: # vi whatsmyip.html #!/usr/bin/perl -w # #### use CGI; # $browser = $ENV{'HTTP_USER_AGENT'}; ## $host = $ENV{'REMOTE_HOST'}; $host = $ENV{'REMOTE_PORT'}; $ip = $ENV{'REMOTE_ADDR'}; ............................. after that you can use the variables in any text you want. Like.................................. print "

You are using browser...

\n"; print "
$browser

\n"; print "
Your originating port

\n"; print "
$host
\n"; print "
Your NAT or local IP...

\n"; print "
Below me.

\n"; print "
$ip

\n"; --------------------------------------------------------------------------------- The above would be the web page displayed.