LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-19-2004, 12:44 PM   #1
shadz
LQ Newbie
 
Registered: Dec 2004
Location: South Africa
Distribution: fedora
Posts: 7

Rep: Reputation: 0
Dyndns Service Setup


Hi All,

I would like to set up a web server at home using the DYNDNS service. However, I am not getting much success.

My situation thus far is as follows.

I am running Apache 2 on a Fedora Core Box.
I have signed up for a DYNDNS account and created a URL with them.
I have an Aztech DSL router with a web interface at 10.0.0.2.
My ISP say they dont block port 80.
The interface has a port forwarding option, but I'm not sure what to enter.
The web server is at 10.0.0.12.

I would like to know how I should set up my httpd.conf file.
And how I should set up the port forwarding.
Also if there is anything else to complete the setup.

After trying I receive an error:
You were denied access because:

Access denied by access control list.

Any help will be much appreciated.
 
Old 12-20-2004, 12:24 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
firstly check that your web server is accessable by visiting... http://10.0.0.12/

if you're trying to setup a service that's accessable by everyone in the outside world, here's what you got to do...

on the dsl router: set up a service to forward port 80 to 10.0.0.12
install a dyndns client on your computer and set it up to find the ip address via web(the router may even support dyndns, i know my netgear does)

depending on your router you may not be able to test your web server from inside by visiting http://xxx.dyndns.org/ you may only be able to use it from http://10.0.0.12/

you'd have to go to somewhere outside the firewall or use some anonymous proxy outside to test your http://xxx.dyndns.org/ web service.
 
Old 12-20-2004, 08:44 AM   #3
shadz
LQ Newbie
 
Registered: Dec 2004
Location: South Africa
Distribution: fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks

Thanks for your reply,

My web server is visible from my network.
I have yet to get a dyndns client. Do you have any suggestions on what might be good choice.

I have set the port fowarding for port 80 to my web server, but when I enter the ip number from the DYNDNS database in the browser it takes me to the router web interface?
 
Old 12-20-2004, 08:55 AM   #4
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
If I were you, I would reconfigure the router so that the admin interface is not accessible from the public network. In addition I would change the port it is listening to, to a non-standard port number (thus avoiding the "conflict" with the port forwarding to your webserver).
 
Old 12-20-2004, 09:13 AM   #5
shadz
LQ Newbie
 
Registered: Dec 2004
Location: South Africa
Distribution: fedora
Posts: 7

Original Poster
Rep: Reputation: 0
THANKs

Thanks a lot guys,

I've asked a friend at a remote location to check if the site is up and he says everything is visible from his location. I now have a slighty different problm in that I have install gallery (photo album) on the server. The albums were not visible from outside so I changed the URL to the DYNDNS one. Now I can't view the albums or get into the configuration to change it.

Any suggestions?
 
Old 12-20-2004, 05:00 PM   #6
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
try and add a line in your hosts file like...
10.0.0.12 xxx.dyndns.org

restart the browser and see if you can visit the dyndns url from the inside.
 
Old 12-20-2004, 05:20 PM   #7
shadz
LQ Newbie
 
Registered: Dec 2004
Location: South Africa
Distribution: fedora
Posts: 7

Original Poster
Rep: Reputation: 0
config.php

I've managed to edit the config.php file in the Gallery directory and change the URL back to the original internal IP, but now the pics won't be able to be viewed from outside?
 
  


Reply


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
How to setup service name in pppoe connection ALInux Linux - Networking 3 05-14-2005 12:38 PM
Help with a port 25 redirection service, DynDNS, and Thunderbird... darkarcon2015 Linux - Software 1 01-20-2005 03:03 PM
iptables and dynamic ip adresses (use of a dyndns service) markus1982 Linux - Security 6 09-02-2004 09:27 AM
Service Shutdown and Init Setup g_goblin Solaris / OpenSolaris 1 10-29-2003 03:53 PM
setting up a dyndns service markus1982 Linux - Software 0 05-29-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration