Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > General Discussion

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2004, 06:23 AM
Member
 
Join Date: Dec 2002
Location: Canberra, Australia
Posts: 41
Default Howto hack ez-ipupdate / custom dyndns

Much of this post is a rehash of an earlier post, except now I have got it all working (including the startup at boot time, and restarting if it fails). Please not that if you have support from Astaro these changes will make it null and void.

Just to reiterate what was said previously. Astaro does NOT yet support CUSTOM DynDNS. Below is a method to provide a work around. Follow these steps.

1. Make a copy of the dyndns.conf file. This file is in /etc. Make a copy called ez-ipupdate.conf

2. Using vi edit the ez-ipupdate.conf file to look like this (replacing the info with your own of course):

<font class="small">Code:</font><hr /><pre>service-type=dyndns-custom
user=usernameassword
host=mydomain.com.au,www.mydomain.com.au,mail.mydomain.com.au
mx=mail.mydomain.com.au
interface=ppp0
max-interval=86400
cache-file=/opt/tmpfs/ez-ipupdate.cache
daemon</pre><hr />

3. Make sure dyndns is turned on in webmin.

4. Edit the startup file. The startup file is in the /var/mdw/scripts directory and called dyndns. Change the line that reads ARGS=" -c /etc/dyndns.conf" to read ARGS=" -c /etc/ez-ipupdate.conf"

5. That is all the changes. Now you can either restart your box or just kill the ez-ipupdate process and let the selfmonitor restart it.

As said months ago it would be nice if Astaro would include the extra options in webmin as it is a nobraineer kind of change. But I guess its not up there on there list of priorities.

Anyway, hope this helps someone out there..... and remember to have fun....
Reply With Quote
  #2 (permalink)  
Old 11-01-2004, 07:51 AM
Simon Shaw's Avatar
Aussie moderator.
 
Join Date: Jun 2001
Location: Perth, Western Australia
Posts: 2,628
Default Re: Howto hack ez-ipupdate / custom dyndns

Can I put this in my web faq?
Reply With Quote
  #3 (permalink)  
Old 11-01-2004, 12:24 PM
Senior Member
 
Join Date: Mar 2001
Posts: 181
Default Re: Howto hack ez-ipupdate / custom dyndns

Hi Simon,

would you mind telling the address of your web faq?

techno.kid
Reply With Quote
  #4 (permalink)  
Old 11-01-2004, 03:01 PM
Simon Shaw's Avatar
Aussie moderator.
 
Join Date: Jun 2001
Location: Perth, Western Australia
Posts: 2,628
Default Re: Howto hack ez-ipupdate / custom dyndns

http://www.sputcorp.com/asl
Reply With Quote
  #5 (permalink)  
Old 11-01-2004, 11:01 PM
Member
 
Join Date: Dec 2002
Location: Canberra, Australia
Posts: 41
Default Re: Howto hack ez-ipupdate / custom dyndns

Simon,

No problem dude. Feel free to use it.
Reply With Quote
  #6 (permalink)  
Old 11-04-2004, 07:20 AM
Junior Member
 
Join Date: Jun 2002
Location: New Zealand
Posts: 22
Default Re: Howto hack ez-ipupdate / custom dyndns

Obviously, these instructions only apply to setups where the real world ip is at the external interface of the firewall. For those of us who have a adsl router outside the firewall, it doesn't work.
Unless I am missing something. How do you get dyndns daemon to send the ip from the other side of the router ?
Reply With Quote
  #7 (permalink)  
Old 11-04-2004, 10:26 AM
Moderator
 
Join Date: Apr 2001
Location: Brantford, Ontario, Canada
Posts: 783
Default Re: Howto hack ez-ipupdate / custom dyndns

You can't. You will need to run an app on a machine behind the firewall that uses web based IP detection.
Reply With Quote
  #8 (permalink)  
Old 11-08-2004, 10:13 AM
Senior Member
 
Join Date: Mar 2001
Posts: 181
Default Re: Howto hack ez-ipupdate / custom dyndns

There is a way to do it: just use ddclient!

ddclient does not check the ip address of the interface but calls a website which shows the ip address assigned by the provider to the router - so if this one changes ddclient updates the e.g. dyndns.org address.

Hint: do not run ddclient as a daemon since I made the experience that it crashes from time to time.
Better have it called by cron every 5 minutes...

techno.kid
Reply With Quote
  #9 (permalink)  
Old 11-09-2004, 12:32 PM
Member
 
Join Date: Dec 2002
Location: Canberra, Australia
Posts: 41
Default Re: Howto hack ez-ipupdate / custom dyndns

It should be noted that if you use a DSL router then even if you get your right address advertised things will probably not work as you would want. This is because the router is doing NAT as well as the firewall. This double NAT generally breaks everything when it comes to getting inbound services to work. If your using a proper firewall to do the NAT then you do not want to be using a DSL router, just a modem.
Reply With Quote
  #10 (permalink)  
Old 12-12-2004, 07:14 PM
Senior Member
 
Join Date: Mar 2001
Posts: 181
Default Re: Howto hack ez-ipupdate / custom dyndns

Hi all,

IŽd like to come back to the idea of "FAQ for ASL hacks" like Simon Shaw has.

I do not want to copy Simons idea/work but extend it with a more "flexible" design.
I have phpmyfaq.de running for several other things... so IŽd like to discuss this idea with you "hackers" :-)

The advantage of phpmyfaq is that you can have different editors who can maintain the site plus the posibilty for the readers to comment the given information.

So if there is an interest in this an Simon likes the idea too, IŽd provide a link to this page.

techno.kid
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:57 PM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.