Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Webmin / Mediawiki(Apache) / NoIP

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
pintas
Posts: 17
Joined: 2011-01-17 12:39

Webmin / Mediawiki(Apache) / NoIP

#1 Post by pintas »

Hi!
I have setup a Webmin instalation along with Mediawiki on Debian 9 Strech.
For testing purposes, i'm using NoIP before i acquire a propper domain. But i can't point my DDNS to my server.

---> Here is my hosts (the project names are not real):

Code: Select all

127.0.0.1       projectglobal
192.168.15.10   project1.ddns.net
192.168.15.12   project2.ddns.net

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::3 ip6-allhosts
---> My Apache ports.conf:

Code: Select all

Listen *:80
#Listen *:10000

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
---> My Apache enabled site http://www.project1.ddns.net.conf:

Code: Select all

<VirtualHost *:80>
 ServerName www.project1.ddns.net
 ServerAlias project1.ddns.net
 DirectoryIndex index.php
 DocumentRoot /var/www/html/mediawiki/

<Directory /var/www/html/mediawiki/>
                Options FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
</Directory>

ErrorLog /var/log/apache2/project1.ddns.net-error_log
CustomLog /var/log/apache2/project1.ddns.net-access_log common

</VirtualHost>
Webmin is running and set on port 10000. NoIP is running and Apache is also running without errors. But i can't access neither Webmin ou Mediawiki from outside my network.
I've opened ports 80, 443 and 10000 in my router and in FirewallD in Webmin.

I've tried about everything i can think of, but still...
Any ideas?

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

#2 Post by TonyT »

Depending upon your ISP you may have to use alternate ports for for apache because most ISPs filter port 80 to prevent subscribers from running Web servers. Then use router port forwarding to to forward port XX requests to the LAN IP of the server. Even if the ISP allows port 80 you still need to use a different port because the router's default http port is port 80.

I use port 8090 for apache running on my LAN and port forward 8090 requests to the server LAN IP. Then I access the server using http://domain.com:8090. To access Webmin you'd have to use http://domain.com:10000.

kopper
Posts: 137
Joined: 2016-09-30 14:30

Re: Webmin / Mediawiki(Apache) / NoIP

#3 Post by kopper »

TonyT beat me to it. :)

Additional questions, have you managed to connect with IP address? You don't seem to mention it in your post
Debian 10.2 Stable with i3
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian

pintas
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

#4 Post by pintas »

Thanks guys! :)

I didn't manage to connect with my IP address.
My ISP is known to use a private IP address, and i think that may be an issue.

I'm configuring the 8090 port to test.

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

#5 Post by TonyT »

After change the port you'll need to do:
sudo service apache2 restart

pintas
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

#6 Post by pintas »

TonyT wrote:After change the port you'll need to do:
sudo service apache2 restart
Ok, did that.

I've placed Listen *:8090 in ports.conf, on my virtual host, i've set <VirtualHost *:8090> instead of 80 and opened 8090 TCP/UDP both on my router and my FirewallD (via Webmin).
Still can't access from outside via IP or NoIP. :(

ShieldsUp website shows the following:

80
Stealth http
World Wide Web HTTP

443
Stealth https
http protocol over TLS/SSL

8090
Stealth http-alt-alt
HTTP Alternate Alternate (see port 8080 and port 81)

10000
Stealth ndmp
Network Data Management Protocol

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

#7 Post by TonyT »

and opened 8090 TCP/UDP both on my router and my FirewallD
You must access the router Web interface and set port forwarding for the server. Forward 8090 to the LAN IP of the server.

pintas
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

#8 Post by pintas »

TonyT wrote:
and opened 8090 TCP/UDP both on my router and my FirewallD
You must access the router Web interface and set port forwarding for the server. Forward 8090 to the LAN IP of the server.
Thanks Tony.
I did, but i still can't access it from outside the network...

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Webmin / Mediawiki(Apache) / NoIP

#9 Post by TonyT »

To access from the WAN use the URL:
http://WAN-IP-ADDRESS:PORT-NUMBER
ex. http://555.444.333.xx:8090

pintas
Posts: 17
Joined: 2011-01-17 12:39

Re: Webmin / Mediawiki(Apache) / NoIP

#10 Post by pintas »

Thanks guys.
It turns out my available site was missing the correct IP.

Post Reply