Question might sound impossible but I'm still serious. Downloaded a plugin for firefox called "Modify Headers" (https://addons.mozilla.org/de/firefox/addon/modify-headers/).

Set it up like that:

Select Action: Add
Header Name: X-Forwarded-For
Value: Enter any IP address here.
Add this and press start.

Now go to https://www.iplocation.net/find-ip-address or some other site and you will see that your original ip has changed without the use of proxy.

However, this doesn't work on all / many sites, but still, maybe there is a better way doing this so it works on all sites?


2 Answers 2


No, and you're not even changing your IP address with the method you've outlined - you're effectively claiming that you're a proxy for whatever IP address you provided in that header. It might work to fool some basic analytics tools, but your IP address would still be available to whatever servers you connect to (they'd need it to know where data should be going), and it wouldn't fool any authorities who wanted to track activity back to you.


The X-Forwarded-For HTTP header informs the website that you are making the request on behalf of the IP address you put into the X-Forwarded-For field. By faking this field, you are essentially lying that you are making the request on behalf of someone else. While the website can choose to believe this if they wish, you are still making the request with your real IP address and your real address is likely still being logged, even if it looks like you fooled them.

Though you can spoof an IP address as well, it is difficult to accomplish anything of note with a spoofed IP address other than denial-of-service attacks. This is because TCP requires two-way communication, and if you spoof your IP address, responses from the server won't make it back to you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .