SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I setup ddclient , all is well and I can get to my adsl router from the outside
But I cant access my server , router is 192.168.1.1 and server 192.168.1.3
That is were I have my wheels come off and crash and burn
If not, go to your router's configuration webpage and look for something like 'port forwading' or 'NAT'. there you can let the world access your internal server on port 80.
I can get to my adsl router from the outside
But I cant access my server , router is 192.168.1.1 and server 192.168.1.3
bothers me,
meaning your server doesn't run Apache/httpd service (have you started it ?) and router is not forwarding port 80 to your server (you get router's web panel ?)
Quote:
.. to eliminate port numbers I am forwarding all ports from 1 to 65535
and you should also post a model of your router for someone could have done it with the same router or can be searched for a solution.
There is maybe a PORT TRIGGER also in your router settings, which should be set to trigger port 80 to your server's IP.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Have you, in /etc/httpd.conf, edited
Code:
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
#Listen 80
Listen 192.168.1.3:80 < this is your server address
and
Code:
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
ServerName fubar.com:80 < your server name goes here
If not, do the above then
Code:
/etc/rc.d/rc.httpd restart
In your router, make sure that port 80 is forwarded; you do not need, nor do you want, to forward every port, only the ones you need like 80 and 22 to start with -- you can add or change after you get things going.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
I forgot to include a working /etc/ddclient/ddclient.conf for you:
Code:
## ddclient configuration file
daemon=600
# check every 600 seconds
syslog=yes
# log update msgs to syslog
mail-failure=your_e-mail_address_goes_here # Mail failed updates to user
pid=/var/run/ddclient.pid
# record PID in file.
## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
## DynDNS username and password here
login=userid_goes_here
password=password_goes_here
## Default options
protocol=dyndns2
server=members.dyndns.org
## Dynamic DNS hosts
you_dyndns_site_name_goes_here
This assumes that you're registered with DynDNS, have a login and password and have chosen a web site name. It would be something like billybob.dyndns.org.
Note that you do not enter any of this stuff in /etc/httpd/httpd.conf, that's your local system name, domain and address (192.168.1.3).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.