I hope it is not too weird question. I'm running a web service on an IIS server which can be accessed either from internal network or from external (i.e Internet) by port forwarding.
External: For example, if I connect to my server from the internet with http://my_public_domain_name than the firewall will forward port 80 to my server.
Internal: Assuming my server has the ip 10.50.1.1 in the local network and my PC is in 10.60.1.1 (same itranet, different subnets) than I can access it by http://10.50.1.1.
When I get the request in the IIS (ASP.NET) I need to know whether the request was forwarded by the firewall or was it arrived internally.
Thanks.