I am using ping command to test my website which is running on a local server at the moment.

closed as off-topic by Xander, David Houde, ThoriumBR, RoraΖ, schroeder Mar 30 '15 at 20:03

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – Xander, David Houde, ThoriumBR, RoraΖ, schroeder
If this question can be reworded to fit the rules in the help center, please edit the question.


How can I spoof source ip address while making a ping request from windows command prompt?

If you just want to change your local network address (e.g., change from to then you can set a different static IP address in the Windows "Network and Sharing Center". The exact steps depend on what version of Windows you are using, but should be available on google.

If you want to spoof your actual Internet IP address you may have to find and proxy server, log into that proxy server, and then ping from that machine.

  • Any good articles about the second scenario? I am on W7. – Neha Sharma Mar 30 '15 at 15:38
  • I want to know how I can route ping traffic through a proxy chain entirely using windows command prompt. – Neha Sharma Mar 30 '15 at 15:41
  • There are various proxy server lists on the internet. If you telnet to a proxy server and then ping from that server the ping will look like it is coming from the proxy (unless it forwards your IP, which some do, and some don't). – hft Mar 30 '15 at 15:45
  • How can I figure out which proxy forwards ip and which does not? – Neha Sharma Mar 30 '15 at 15:49
  • Try and see, or use one that's known not to forward. The ones on this list all appear to not forward: proxylisty.com/ip-proxylist – hft Mar 30 '15 at 16:05

Depends on what you mean spoof and what you mean IP.

If you want to be a specific IP4 or IP6 it may not be possible. Such as you pretending to come from Google's IP. But if you just want to test various IPs against a security firewall that's different.

You can generally find VPN like hidemyass.com to use their IP. Some are anonymous, others not so much. Some offer services like different countries or cities, some are pay some are not. Some record activity some not.

If you want to spoof an IP on an intranet then it is just a matter of changing the ip within the modem adapter.

BPID Security


If by spoofing your address you mean "I have address A and want to pretend that my request comes from address B" then you must be aware that the reply from the system will go to address B (and be discarded).

In other words, while there are some possibilities to spoof an address, this is always a one-way trip: you will not get an answer to your request.

Not the answer you're looking for? Browse other questions tagged or ask your own question.