[Tfug] DynDNS howto

Matt Jacob matt.jacob at gmail.com
Sun Aug 26 10:04:00 MST 2007


As Jeremy said, you need to log in to your router's configuration site
(usually 192.168.1.1 or 10.1.1.1 or 172.16.1.1) and then look for the
section with port forwarding. Sometimes it's called "forwarding" or
"port forwarding" or "applications & gaming", but they all do the same
thing. You plug in a port number (80 for HTTP, 22 for SSH, 25 for
SMTP, etc.) and then tell the router which local computer that traffic
should be directed to.

Sometimes the setting will be called "port range forwarding". That's
fine too. In that case, you'll just enter 80 for the starting port and
80 again for the ending port. For protocol, you can either pick "TCP",
or just leave it on "both". If there's a checkbox to enable the
forwarding rule, make sure you check it. :-) You might have to restart
your router in order for the forwarding to take effect, but that's
unlikely.

Good luck!

Matt

On 8/26/07, Jeremy D Rogers <jdrogers at optics.arizona.edu> wrote:
> Predrag, What others meant was that you have to setup the port
> forwarding on the router, not on the linux box. I'm guess that you
> have a computer(s) connected to a router/switch/wirelesAP type thing
> which is in turn connected to a DSL modem. When you connect from
> outside and see the DSL modem setup page, that is because the DynDNS
> IP is the IP that the ISP is giving your modem. To get anything beyond
> the modem, the modem needs to be told to forward port 80 on to the
> router. The router then needs to be forwarded on to the local IP of
> the computer with the apache server. Typically from the local machine,
> you can point your browser to 192.168.1.1 or 192.168.0.1 or whatever
> the local IP of the router or modem is. The web configuration
> interface will have lots of options, so you will have to dig around to
> find the forwarding stuff. Sometimes it is listed under 'gaming' for
> some reason, but they are all very different. You will have to poke
> around.
> Hope that helps,
> JDR
>
> On 8/26/07, Predrag Punosevac <punosevac72 at gmail.com> wrote:
> > I am not sure but
> > I think the port forwarding is something you set via natd (Network
> > Address Translation). I tried by editing my rc.conf file but it didn't
> > work right now.
> > It is too late now so I will have to go to bad.
> > It would be nice if somebody who has dyndns behind the router says something.
> > This is fairly trivial thing I am just ignorant.
> > Predrag
> >
> >
> >
> > On 8/26/07, daniel galaska <galaskadaniel at yahoo.com> wrote:
> > > hi predrag --
> > >
> > > i think that port forwarding is something that you set
> > > up on the router
> > > -- i.e. set your router to forward port 80 requests to
> > > a specific
> > > machine behind the router. i have been trying to make
> > > my home computer
> > > accessible remotely via ssh and have forwarded that
> > > port to the static
> > > ip address of the home machine.
> > >
> > > i'm certainly no expert, but hope that this helps.
> > >
> > > cheers.
> > >
> > > -- daniel
> > >
> > > Predrag Punosevac wrote:
> > > > Hey Matt,
> > > > How do I do that? Do I have to edit
> > > /usr/local/etc/apache/httpd.conf
> > > >
> > > > On 8/26/07, Matt  Jacob <matt.jacob at gmail.com>
> > > wrote:
> > > >
> > > >> Did you set up port forwarding on your wireless
> > > router? You'll need to
> > > >> forward external port 80 to the internal IP address
> > > of the machine
> > > >> running Apache.
> > > >>
> > > >> On 8/26/07, Predrag Punosevac
> > > <punosevac72 at gmail.com> wrote:
> > > >>
> > > >>> Dear ALL,
> > > >>> I am trying to set up http server (Apache) and my
> > > own mail server
> > > >>> (sendmail) on my FreeBSD box.
> > > >>> Since I have no fix AP address nor real domain
> > > name
> > > >>> I decided get the domain name from DynDNS which
> > > does (virtual hosting)
> > > >>> I had no problems configuring Apache 1.3 (I
> > > intensionally did not want
> > > >>> anything newer)
> > > >>> and ddclient. My documents are published correctly
> > > on http://localhost
> > > >>>
> > > >>> However when I try to enter my web site from
> > > outside I am getting my
> > > >>> DSL modem output. I use Quest as IP provider.
> > > >>>
> > > >>> It seems to me that I am not getting past modem
> > > and my wireless
> > > >>> router. Does anyone has a similar set up. Could
> > > you tell me how can I
> > > >>> get to my computer or at least what should I read.
> > > >>>
> > > >>> _______________________________________________
> > > >>> Tucson Free Unix Group - tfug at tfug.org
> > > >>> Subscription Options:
> > > >>> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > >>>
> > > >>>
> > > >> _______________________________________________
> > > >> Tucson Free Unix Group - tfug at tfug.org
> > > >> Subscription Options:
> > > >> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > >>
> > > >>
> > > >
> > > > _______________________________________________
> > > > Tucson Free Unix Group - tfug at tfug.org
> > > > Subscription Options:
> > > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ____________________________________________________________________________________
> > > Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
> > > http://answers.yahoo.com/dir/?link=list&sid=396545433
> > >
> > > _______________________________________________
> > > Tucson Free Unix Group - tfug at tfug.org
> > > Subscription Options:
> > > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> > >
> >
> > _______________________________________________
> > Tucson Free Unix Group - tfug at tfug.org
> > Subscription Options:
> > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> >
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>




More information about the tfug mailing list