LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-05-2007, 11:17 AM   #1
loewen
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.

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

Rep: Reputation: 15
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.

Regards
 
  


Reply

Tags
ddns


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


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

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