Discussion Locked

Public IP address

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
Sometimes I?m away from the office and need to access the local (internal) FTP server. As the IP address is dynamically assigned by the ADSL provider, I always have to check for it b4 going out or phone the office and ask someone to check it for me. Sometimes I need it when nobody is at the office. We run the LAN (and the FTP server) behind a NAT/FireWall. I?d like to know if someone has any idea on how to write a program (maybe a script) that periodically gets the public address and publish it (sends a msg to a special email account) so that only authorized people can have access to it. The manual process I use is connecting to www.abusar.org. When the page shows, I get the public address at the top of the page.
Thanks!

10 replies

by joseph moore

Sounds like you need a dynamic DNS program. I use:
http://www.no-ip.com/
This website ownes several domain names, and what they do is they have a small program that runs on Windows as a service. Every once it a while, it checks the public IP that the machine it is running on has been assigned by the ISP.
This IP is then registered to an A record in DNS for your host.
So, whenever your IP changes, the program from them notices, and re-registers the DNS A record.
Nice!
I use this to hit my home computer (with broadband with a dynamic IP). I only go to the FQDN I set up. I don't need to know what IP my router at home has received by my ISP. I only need the name!
Trust me, this is what you want! And, it is free!

by serginho

Sorry if I wasn?t that clear when I mentioned "special mail account". I know ?bout dynamic DNS but I don?t want this IP address in the public domain. Thanks anyway.

by cg it

Joe is right. I use constant time DNS service [which isn't free] but having a FQDN & the Dynamic DNS service beats having to wonder when the IP address changes.

by serginho

Sorry if I wasn?t that clear when I mentioned "special mail account". I know ?bout dynamic DNS but I don?t want this IP address in the public domain. Thanks anyway.

by amanabala

Hello
I can help you with the program but before that, I would like you to clarify for me:
1. You want to know the Public IP address of the Server in your office.
2. How often does your ISP(ADSL Provider) change the IP address in the office?

Please let me know and I will be able to help you further.
-Ravi

by serginho

Ravi,
1. Yes, the internet-pingable address, right now 200.203.1.3
2. Every 24h
Thanks!

by csmith

SPAMMING yourself is probably not a good idea.
Why is the current process so time consumimg?
I assume www.abusar.org is the home page on your laptop, and opens as soon as you connect.
Where are the big time savings?

Regards, Chris

by csmith

Forgot to mention.
The total time to load www.abusar.org using a 33k MODEM, is approximately 20 seconds.
How short do you need this? 5 Seconds?
Regards, Chris

by serginho

Chris,
I don?t think I mentioned "timing" as a problem. If I?m IN the office, I can quickly find the IP address. The problem is when I?m NOT IN the office and there?s nobody there

This discussion is closed to new replies.