Results 1 to 7 of 7

Thread: view public IP behind NAT

  1. #1

    view public IP behind NAT

    Is there any tool or service that allows a NAT'ed unix server to view the public IP address of the network it is on? The unix server now has a 192.168.1.x private IP and I am using a cable dynamic internet service.

    thanks
    -josh

  2. #2
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Try the what is my IP site - http://www.whatismyip.com/

  3. #3
    oops sorry. I mean via command line. this way I can create a bash script to notify me if my IP address changes.

    thanks
    -josh

  4. #4
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    Try http://checkip.dyndns.com/ it is easy to parse with curl

  5. #5
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    @beemer832, I wrote a bash script to update my ZoneEdit account with my dynamic IP when it changes. Nothing fancy but it has been running on my home server for 5 years with no issues.

    http://jeff.robbins.ws/code/zoneedit-dynamic-ip-updater
    jro - http://jeff.robbins.ws
    Linux counter#:213782
    GnuPG ID: 406238E7

  6. #6
    Administrator Advisor peter's Avatar
    Join Date
    Apr 2004
    Posts
    882
    You can also run the ddclient package which will do the same thing.

  7. #7
    Advisor beezlebubsbum's Avatar
    Join Date
    May 2004
    Location
    Australia
    Posts
    735
    Quote Originally Posted by peter View Post
    You can also run the ddclient package which will do the same thing.
    Yup, ddclient works wonders!
    My Website: http://ttgale.com
    My Website Uptime: http://img.uptimeprj.com/holastickbo...dee9bae2e2.png
    My Server Specs: AMD Athlon X2 3800+, 2gb DDR2 RAM, 1.5TB HDD, Ubuntu 9.10
    My Gaming PC: Intel Core 2 Duo 2.93ghz, 4gb DDR2 RAM, 9800GTX+

Similar Threads

  1. [ask] how to manage public ip from dual isp ??
    By oasisjkt in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 04-11-2011, 08:40 AM
  2. Deleted Public Folders
    By mjma2000 in forum Windows - General Topics
    Replies: 0
    Last Post: 07-25-2006, 04:59 AM
  3. SETTING PUBLIC IP ON REDHAT 9 BOX
    By iabdul in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 12-24-2005, 06:19 PM
  4. Public Authentication
    By Ashcrow in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 12-19-2002, 05:04 AM
  5. A public UNIX server????
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 11-28-2002, 01:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •