Question:
Proxy server explanation..?
2006-05-26 16:09:22 UTC
When I connect to the internet through a proxy server then my IP address become the same as the proxy server IP address ?
If that's right , when 2 or more users use the same proxy we all have the same IP address ??
Eight answers:
rock_manlove
2006-05-28 14:10:49 UTC
proxy server is using TCP/UDP ports. Help of Layer 4 to solve Layer 3 addressing shortage.

say .... ur proxy has IP 192.168.0.1 with service running on port 80

client 1 IP 192.168.0.10

client 2 IP 192.168.0.20



then both clients connecting mail.yahoo.com.



client 1= 192.168.0.10/45000 -> [192.168.0.1/80 ----> 192.168.0.1/30000] -> mail.yahoo.com/80



client 2= 192.168.0.20/38974 -> [192.168.0.1/80 ----> 192.168.0.1/30001] -> mail.yahoo.com/80



proxy keeps record of clients source ports (45000, 38974), these ports r used to identify correct clients for reverce packet/traffic.

Proxy will generate a seperate request to mail.yahoo.com on port 80 with its own 2 different source ports (30000, 30001)



Yahoo server will replay to those requests from proxy with 2 different source ports (30000, 30001) considering them as seperate requests.



source ports are random, and up to 65535. So source ports for each PC are unique, n very rare that 2 PCs will use same source port for same destination.



i hope u got it, its simple.
g0at_cheez™
2006-05-26 23:37:02 UTC
When you make an outgoing connection via a proxy server, your connection appears to be coming from the IP of the proxy server (just as you stated). That also happens to be true with others using the same proxy server.



However, when making a TCP/IP connection, the IP address is just part of the story. Each "connection" or socket has a port associated with it (source and destination). The proxy server uses those ports to differentiate the different sessions it's proxying.



As an example, when you browse the web, you are making a connection to port 80 on the IP address of the webserver. Port 80 is the standard port used for http connections. In this case, it's the destination port. The proxy server assigns a random source port for your session. That random source port stays constant for the duration of your web-browsing session on any particular server.
NGS
2006-05-27 22:04:40 UTC
Yes, the point of a proxy server is so every computer connecting through that proxy server will look like it is that proxy server, which means they will have the same IP address.
devsboard3
2006-05-27 00:16:07 UTC
If you are in a LAN, and all your requests are going through a proxy server, then the destination server (ex: CNN.com) will just see your proxy server's IP address as the request coming from. Now the destination server (ex: CNN.com) will serve the content to your proxy server, and your proxy server will handle.



To answer your first question: Your IP addresses do not become the same (ex: Your proxy server is 192.168.1.1 and and your IP is still 192.168.1.5), but when you request fro content, it goes through the proxy server. Hence the destination server will see a hit from your proxy server.



Answer to second question: The above answer explains, and as it explains, the IP of the other users' machines remain the same (as was assigned) ... The proxy knows where to send data/content.



For the outside world, all they know is they are gettign requests from one machine (your proxy)
Ben N
2006-05-26 23:26:51 UTC
The proxy server maps your internal IP to its external one using different TCP/UDP ports.
WyattEarp
2006-05-26 23:10:58 UTC
Same IP just different extensions
2014-04-09 03:04:29 UTC
When i endorse employing vpnpower.net to unblock web-sites. I am using their services for more than 2 years without any difficulties.
2014-03-20 22:57:57 UTC
My spouse and i endorse making use of VPNPower to help unblock sites. I have been using them since 4 years. http://bit.ly/OCaLHd


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...