Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-05-2007, 11:17 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 14

Rep: Reputation: 0
How to keep track of changing PPPOE public IP

Good day.

My problem is that my ISP keep changing the IP assigned to me and I use DynDNS so I can access my PC wherever I am. Ofcourse I need to set up a bit of a firewall to atleast defend from some wannabe hackers or whatever they are called (China guys).

Anyway, I found a small chunk of code that finds my Public IP whenever the firewall script is run. Ive set this in rc.local. However, I found that sometimes, my ISP just changes my IP leaving my iptables using the old IP.

I usually go to my router and re run the iptable script. Its kind of a pain to do especially when I am out of town and had to access my PC from there.

Is there as easy way to do this or will I have to find a script I can run in a cron to detect the change in IP.

Old 01-06-2007, 09:50 AM   #2
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC16
Posts: 51

Rep: Reputation: 17
I have the same situation and run ddclient as the solution. Be careful on the option you select. Originally I would use an IP address lookup URL to determine my firewalls IP address. This worked OK until my ISP introduced a proxy server. Now I have it check the IP address of my ADSL Modem and within 5 minuets of a change, my DDNS service will have been updated.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing audio track in Media Player Classic kamransoomro84 General 9 10-21-2007 01:45 PM
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
LXer: Public Venture, Public Content LXer Syndicated Linux News 0 06-22-2006 08:54 PM
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-13-2004 11:35 PM
PPPoE att.dsl ipaddress changing terek Linux - Networking 6 08-11-2003 02:09 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration