Re: KNOW MI WAN IP WITH C#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



that's to say i have to implement a server located on the web and to ask him
for my ip adress???
How czn I do in C# to ask various websites that print my ipadress?

"Arthur M." <ArthurM@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: E51C6F62-FF07-4FEC-AEE7-94E7AE58FE41@xxxxxxxxxxxxxxxx
> There is really no way to do that reliably using your local system as the
> only point of query. Once IP packet leaves your system it can get
> translated
> and changed any number of times without your system's knowledge, that is
> hte
> whole point of NAT.
>
> If your firewall is local to your PC, you can query the firewall
> configuration to determine external IP address, however, if firewall is a
> different system - the only truly reliable way to determine translated IP
> address is to query a remote system outside your firewall for it to report
> which IP address you APPEAR to be coming from.
>
>
>
>
>
>
>
>
>
> "Soussan Mikael" wrote:
>
>> Hello evrybody,
>>
>> I have to implement a simple module that can retrieve my own ip adress
>> but
>> if i am behind a firewall i have to get my wan ip that's to say my
>> external
>> ip adress!!!
>>
>> I don't know how to do this!!!I see a little at WMI but anything.
>> My dns client updater can see my external ip, but if i launch ipconfig i
>> see
>> only my lan 192.168.1.3)
>>
>> Thank for helping!!
>>
>>
>>


.



Relevant Pages

  • RE: KNOW MI WAN IP WITH C#
    ... There is really no way to do that reliably using your local system as the ... If your firewall is local to your PC, you can query the firewall ... > ip adress!!! ...
    (microsoft.public.dotnet.framework)
  • Re: KNOW MI WAN IP WITH C#
    ... >> There is really no way to do that reliably using your local system as the ... >> only point of query. ... >> If your firewall is local to your PC, ... >>> I have to implement a simple module that can retrieve my own ip adress ...
    (microsoft.public.dotnet.framework)
  • RE: T_ANY
    ... Maybe it's a difference between udp and tcp in your firewall? ... For most queries udp 53 is used but for long packets it might switch to ... tcp 53 - since you're doing an any you're going to get a lot more data. ... from inside goes through the same PIX firewall as would a query from ...
    (comp.protocols.dns.bind)
  • Re: To sign in your IP adress?
    ... "Rubia" wrote in message ... >I nedd to browse in to my IP adress to make some changes to my firewall. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: [fw-wiz] VPN Gateway And Nat
    ... create a special NAT rule on your firewall (where the traffic is ... this only works if the VPN traffics are only from certain networks... ... > the VPN Gateway must always have a public IP address. ... >> ClientSecuremote doesn't access the real IP Adress of the VPNGATEWAY, ...
    (Firewall-Wizards)