Is there any way that I can get the real external IP of the visitor when proxy software's enabled on his...
up vote
-1
down vote
favorite
I am using this
HttpContext.Current.Request.UserHostAddress;
and it returns me the exact public ip of the user that's visiting my website but it doesn't work if Proxy software i.e. Zenmate, VPNTunnel etc is enabled on visitors' system. In that case, how to get PUBLIC/External/Original ip of the visitor, not the vpn's?
c# asp.net c#-4.0 webforms httpcontext
|
show 7 more comments
up vote
-1
down vote
favorite
I am using this
HttpContext.Current.Request.UserHostAddress;
and it returns me the exact public ip of the user that's visiting my website but it doesn't work if Proxy software i.e. Zenmate, VPNTunnel etc is enabled on visitors' system. In that case, how to get PUBLIC/External/Original ip of the visitor, not the vpn's?
c# asp.net c#-4.0 webforms httpcontext
2
FYI VPN != Proxy. Proxy servers, depending on their configuration (transparent vs anonymous vs highly anonymous) will sometimes send the client IP in headers such asX-Forwarded-For
. With a VPN, that becomes your network connection, so it's like you're browsing the Internet from the provider's IP address.
– John
20 hours ago
2
If someone is using a proxy server or VPN, that is their public, external IP address. What other IP address are you looking for?
– John Wu
20 hours ago
@JohnWu: A person sitting in US, using proxy is getting the IP address of Germany.... How I am supposed to get the address he's actually assigned in US?
– azure boy
20 hours ago
@JohnWu the original requestor of a call that did pass-through the proxy - so obviously any proxy on the request path should/will modify his originating IP address. I want the non-modified one,
– azure boy
20 hours ago
1
I'll say it again: Zenmate and VPNTunnel are not proxy servers. They are virtual private network providers, and that's an entirely different technology. Your current question is like asking how to fill up your Tesla car with petrol/gasoline. If I set up a VPN server on my router at home, and connect to it from another country, routing all of my traffic through it, it becomes like I am on my home network. The IP address displayed is my usual external IP, not the other country IP. In short: what you're asking is impossible. The best you can do is block VPN nodes that you're aware of.
– John
4 hours ago
|
show 7 more comments
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I am using this
HttpContext.Current.Request.UserHostAddress;
and it returns me the exact public ip of the user that's visiting my website but it doesn't work if Proxy software i.e. Zenmate, VPNTunnel etc is enabled on visitors' system. In that case, how to get PUBLIC/External/Original ip of the visitor, not the vpn's?
c# asp.net c#-4.0 webforms httpcontext
I am using this
HttpContext.Current.Request.UserHostAddress;
and it returns me the exact public ip of the user that's visiting my website but it doesn't work if Proxy software i.e. Zenmate, VPNTunnel etc is enabled on visitors' system. In that case, how to get PUBLIC/External/Original ip of the visitor, not the vpn's?
c# asp.net c#-4.0 webforms httpcontext
c# asp.net c#-4.0 webforms httpcontext
asked 20 hours ago
azure boy
185
185
2
FYI VPN != Proxy. Proxy servers, depending on their configuration (transparent vs anonymous vs highly anonymous) will sometimes send the client IP in headers such asX-Forwarded-For
. With a VPN, that becomes your network connection, so it's like you're browsing the Internet from the provider's IP address.
– John
20 hours ago
2
If someone is using a proxy server or VPN, that is their public, external IP address. What other IP address are you looking for?
– John Wu
20 hours ago
@JohnWu: A person sitting in US, using proxy is getting the IP address of Germany.... How I am supposed to get the address he's actually assigned in US?
– azure boy
20 hours ago
@JohnWu the original requestor of a call that did pass-through the proxy - so obviously any proxy on the request path should/will modify his originating IP address. I want the non-modified one,
– azure boy
20 hours ago
1
I'll say it again: Zenmate and VPNTunnel are not proxy servers. They are virtual private network providers, and that's an entirely different technology. Your current question is like asking how to fill up your Tesla car with petrol/gasoline. If I set up a VPN server on my router at home, and connect to it from another country, routing all of my traffic through it, it becomes like I am on my home network. The IP address displayed is my usual external IP, not the other country IP. In short: what you're asking is impossible. The best you can do is block VPN nodes that you're aware of.
– John
4 hours ago
|
show 7 more comments
2
FYI VPN != Proxy. Proxy servers, depending on their configuration (transparent vs anonymous vs highly anonymous) will sometimes send the client IP in headers such asX-Forwarded-For
. With a VPN, that becomes your network connection, so it's like you're browsing the Internet from the provider's IP address.
– John
20 hours ago
2
If someone is using a proxy server or VPN, that is their public, external IP address. What other IP address are you looking for?
– John Wu
20 hours ago
@JohnWu: A person sitting in US, using proxy is getting the IP address of Germany.... How I am supposed to get the address he's actually assigned in US?
– azure boy
20 hours ago
@JohnWu the original requestor of a call that did pass-through the proxy - so obviously any proxy on the request path should/will modify his originating IP address. I want the non-modified one,
– azure boy
20 hours ago
1
I'll say it again: Zenmate and VPNTunnel are not proxy servers. They are virtual private network providers, and that's an entirely different technology. Your current question is like asking how to fill up your Tesla car with petrol/gasoline. If I set up a VPN server on my router at home, and connect to it from another country, routing all of my traffic through it, it becomes like I am on my home network. The IP address displayed is my usual external IP, not the other country IP. In short: what you're asking is impossible. The best you can do is block VPN nodes that you're aware of.
– John
4 hours ago
2
2
FYI VPN != Proxy. Proxy servers, depending on their configuration (transparent vs anonymous vs highly anonymous) will sometimes send the client IP in headers such as
X-Forwarded-For
. With a VPN, that becomes your network connection, so it's like you're browsing the Internet from the provider's IP address.– John
20 hours ago
FYI VPN != Proxy. Proxy servers, depending on their configuration (transparent vs anonymous vs highly anonymous) will sometimes send the client IP in headers such as
X-Forwarded-For
. With a VPN, that becomes your network connection, so it's like you're browsing the Internet from the provider's IP address.– John
20 hours ago
2
2
If someone is using a proxy server or VPN, that is their public, external IP address. What other IP address are you looking for?
– John Wu
20 hours ago
If someone is using a proxy server or VPN, that is their public, external IP address. What other IP address are you looking for?
– John Wu
20 hours ago
@JohnWu: A person sitting in US, using proxy is getting the IP address of Germany.... How I am supposed to get the address he's actually assigned in US?
– azure boy
20 hours ago
@JohnWu: A person sitting in US, using proxy is getting the IP address of Germany.... How I am supposed to get the address he's actually assigned in US?
– azure boy
20 hours ago
@JohnWu the original requestor of a call that did pass-through the proxy - so obviously any proxy on the request path should/will modify his originating IP address. I want the non-modified one,
– azure boy
20 hours ago
@JohnWu the original requestor of a call that did pass-through the proxy - so obviously any proxy on the request path should/will modify his originating IP address. I want the non-modified one,
– azure boy
20 hours ago
1
1
I'll say it again: Zenmate and VPNTunnel are not proxy servers. They are virtual private network providers, and that's an entirely different technology. Your current question is like asking how to fill up your Tesla car with petrol/gasoline. If I set up a VPN server on my router at home, and connect to it from another country, routing all of my traffic through it, it becomes like I am on my home network. The IP address displayed is my usual external IP, not the other country IP. In short: what you're asking is impossible. The best you can do is block VPN nodes that you're aware of.
– John
4 hours ago
I'll say it again: Zenmate and VPNTunnel are not proxy servers. They are virtual private network providers, and that's an entirely different technology. Your current question is like asking how to fill up your Tesla car with petrol/gasoline. If I set up a VPN server on my router at home, and connect to it from another country, routing all of my traffic through it, it becomes like I am on my home network. The IP address displayed is my usual external IP, not the other country IP. In short: what you're asking is impossible. The best you can do is block VPN nodes that you're aware of.
– John
4 hours ago
|
show 7 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53371390%2fis-there-any-way-that-i-can-get-the-real-external-ip-of-the-visitor-when-proxy-s%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
FYI VPN != Proxy. Proxy servers, depending on their configuration (transparent vs anonymous vs highly anonymous) will sometimes send the client IP in headers such as
X-Forwarded-For
. With a VPN, that becomes your network connection, so it's like you're browsing the Internet from the provider's IP address.– John
20 hours ago
2
If someone is using a proxy server or VPN, that is their public, external IP address. What other IP address are you looking for?
– John Wu
20 hours ago
@JohnWu: A person sitting in US, using proxy is getting the IP address of Germany.... How I am supposed to get the address he's actually assigned in US?
– azure boy
20 hours ago
@JohnWu the original requestor of a call that did pass-through the proxy - so obviously any proxy on the request path should/will modify his originating IP address. I want the non-modified one,
– azure boy
20 hours ago
1
I'll say it again: Zenmate and VPNTunnel are not proxy servers. They are virtual private network providers, and that's an entirely different technology. Your current question is like asking how to fill up your Tesla car with petrol/gasoline. If I set up a VPN server on my router at home, and connect to it from another country, routing all of my traffic through it, it becomes like I am on my home network. The IP address displayed is my usual external IP, not the other country IP. In short: what you're asking is impossible. The best you can do is block VPN nodes that you're aware of.
– John
4 hours ago