I run a web server on my firewall machine (linux) and it is accessable via a dynamic name server at www.dyndns.org.
Go there and register with them.  Set your web server machine up to periodically register with dyndns via a script and voila! you have a permanent name on the internet even though your ip address may change daily, (though my experience with shaw is that it stays the same for months at a time, and only changes if you shut down for a long while).
I use a script like this (mickey mouse I know..):

#!/bin/sh

# Define the host to be updated as 1st arguement to script
if [ -z $1 ]; then
        echo "Usage: ddupcron.sh hostname"
        exit
else
        HOST=$1
fi
# Define interface to grep address from
IFACE="eth0"
IFCHECK=$(/sbin/ifconfig $IFACE|grep ask|awk '{print $2}'|cut -d ':' -f2)
# Define where we should store last IP
IPFILE="/tmp/ddupip"
IPCHECK=$(cat $IPFILE)
# Define path to ddup and ddup arguments (except --host)
DDUP_PATH="/sbin/ddup"
DDUP_ARGS="--debug"


if [ "$IFCHECK" = "$IPCHECK" ]; then
        echo "looks like we are still the same ip"
else
        $DDUP_PATH --host $HOST $DDUP_ARGS
        echo "$IFCHECK" > $IPFILE
fi



Started from cron:
01 02 * * * /sbin/ddupcron.sh elrond.dyndns.org >> /var/log/messages


wcn


Kevin Anderson wrote:
Getting your own IP address is faster and easier if you just go to

http://www.whatismyip.com

Since you intend to make it a public site, you could also post the IP
address, and we could check it and let you know...

Kev.


----- Original Message -----
From: "Marcel Lecker" <[EMAIL PROTECTED]>
To: "CLUG" <[EMAIL PROTECTED]>
Sent: Monday, September 16, 2002 10:18 PM
Subject: Re: (clug-talk) Question about hosting?


  
It alsmost sounds like you're using packet filtering (a.k.a.firewall) if
so your rules might be such that you're be refusing IP addresses coming
from private networks (like your own) etc.. In short you may be screened
by your own firwall.

Try to hook up to another computer (via ssh etc.) or use a computer with
another (outside) IP address and try nmap that way so that you're
probing from the outside in rather than trying to go outside and back in
again.

To get your router's IP address try send an email to yourself and look
at its header for your IP address.

just a hunch.

Marcel


On Mon, 2002-09-16 at 21:19, Nathan Wainwright wrote:
    
im using linux/apache/php, with shaw.... works fine.

do you have a router/firewall blocking shaw, so they can't see how many
computers you have connnected to the net?

Shane&Lisa wrote:

      
Hi all,
I have the Shaw cable service, and I am hoping to host my own site.
I believe that I have apache etc all set up and DNS and so on...
What seems to be the problem is that I can't connect to the services
using the public IP.
Does anyone know if Shaw is blocking certain requests preventing
        
running
  
your own DNS, http services?

Shane


        
      


    


  


Reply via email to