Change IP address programatically?

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

Hi,
Is there any way of changing the IP address of a packet sent from my
computer to a web server? I suppose is not possible since the router
SNAT will change ip's anyway but it would be great if it's possible
Thanks!
 
Hi,

Let's says it's possible, what about the returning packages? they will be
routed to a non-existen IP or (in case the IP is used somewhere else) to a
machine that is not expecting it.

IIRC if you use RAW sockets you can construct the TCP/IP package as you
wish., if so you can set the IP

cheers
 
I will have a look to Raw Sockets then. I'm not interested in the http
reply now but I'm not sure if even though I build up the packet on C#,
the router will add my public IP address to the packet so I probably
should disable NAT on my router.
regards
 
I was just testing a personal website that grants a form submit
depending on the source IP (done in PHP programming). So my idea was to
create an http packet with another ip in order to get access to the
website. (Like a way to dynamize an static IP...)
regards
 
Hi,

Is the site in your local network?
if so you change the ip of the computer and test it.
If the site is not in your network unless that your internet connection has
more than one ip you cannot test it.
what about testing at home or in any other way?

cheers,
 
Back
Top