Sign in to follow this  
Followers 0
Turranius

InetGet results in different result from manual surf..

1 post in this topic

#1 ·  Posted (edited)

Greetings,

EDIT: Never mind. It seems that if I surf with IE och Chrome, it also shows my internal IP instead of my external one. With Firefox (which is my default), it shows the external IP. So this has nothing to do with Autoit =)

--------------

This started happening just recently. This has previously worked fine.

I have a script that checks my external IP with http://checkip.dyndns.org

If I surf there normally, I just get my external IP.

From the autoit script:

InetGet($URL, @TempDir & "IP.dat", 1)

Where $URL is http://checkip.dyndns.org

If I do that today, the IP.dat file contains my local IP on the machine I run the script on, not the external IP. Could any kind soul please verify this for me and see if there are any workarounds?

There are other "showip" sites out there which seems to work. I've only tested two of them, but my script runs through ~30 such sites.. Basically its a VPN checker. It kills processes if the external IP changes, and it checks the external IP every 2-4 seconds, so I do not want to spam checkip.dyndns.org, thats why it picks a site from my list at random to check with.

Edited by Turranius

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0