This ia a web server that can show your real public IP address.
- Show your real public IP address.
- Show HTTP headers of your request.
Get first value of HTTP header X-Forwarded-For
(XFF).
X-Forwarded-For:
client
, proxy1, proxy2
note:
HTTP header is modifiable
.
-
Proxy Server
According to Principles,
whatismyip
need the proxy server. (See proxy server config example.)
git clone https://github.com/beckxie/whatismyip.git
make all
-p int
http server port (default 9999)
-tmpl string
tmpl file (default "../web/template/whatismyip.tmpl")
-v version
This project is licensed under the MIT License - see the LICENSE file for details