Access denied to the web interface using: https://<my_ip>:980

614 views
Skip to first unread message

PBX Ramdas Forums

unread,
Dec 27, 2013, 2:25:39 PM12/27/13
to neths...@googlegroups.com

Hello all,

 

I just finish up the installation of Nethserver on a vps server. Because I can’t install my own ISO, so  I just install a minimal Centos 6.4.

After that I follow these instructions on http://nethserver.nethesis.it/index.php?id=download_yum-installation

 

Everything when well, after the first boot I entered my root password, network settings, FQDN and hostname. I also did:

# yum clean all

# yum update

 

Now when I go to https://<my_ip>:980 I need to accept the self-sign SSL certificate, but after accepting this I get:

Forbidden

You don't have permission to access / on this server.

I think this is firewall problem, but do not know how to solve this, please help.

Nethserver iptables –L –n looks like:

 

Also the vps have it’s own firewall provided by the provider, but there I already open all ports

 

What is wrong with my server. I also can’t use a SSH connection. It’s like incoming connections to the server are blocked

Outgoing connections are working perfectly. Please help me out to troubleshot this problem.

Thanks

 

Pbx-ramdas

 

 

 

 

 

 

 

image001.png
image002.png

Davide Principi

unread,
Dec 28, 2013, 7:54:46 AM12/28/13
to neths...@googlegroups.com, for...@pbx-ramdas.nl
Hi Ramdas

Il giorno venerdì 27 dicembre 2013 20:25:39 UTC+1, PBX Ramdas Forums ha scritto:

Hello all

I just finish up the installation of Nethserver on a vps server. Because I can’t install my own ISO, so  I just install a minimal Centos 6.4.

After that I follow these instructions on http://nethserver.nethesis.it/index.php?id=download_yum-installation

Everything when well, after the first boot I entered my root password, network settings, FQDN and hostname. I also did:

# yum clean all

# yum update

Now when I go to https://<my_ip>:980 I need to accept the self-sign SSL certificate, but after accepting this I get:

Forbidden

You don't have permission to access / on this server.

I think this is firewall problem, but do not know how to solve this, please help.

Nethserver iptables –L –n looks like:


mmh firewall seems ok. Indeed you get a "Forbidden" page, that means you can reach Apache. Are you connecting from an external network?

Try to issue the following commands (i'm going on memory):

   # config setprop httpd-admin access public
   # signal-event nethserver-httpd-admin-update

If this is enough, check Remote Access settings in https://<IP>:980/en/RemoteAccess.

Good luck!

--
Davide Principi
Nethesis srl Pesaro (Italy)

Giacomo Sanchietti

unread,
Dec 28, 2013, 8:27:30 AM12/28/13
to neths...@googlegroups.com
Hi Ramdas,

> mmh firewall seems ok. Indeed you get a "Forbidden" page, that means you
> can reach Apache. Are you connecting from an external network?

I agree.
You should also open access to web interface from non-lan networks:

# config setprop httpd-admin access public
# config setprop httpd-admin ValidFrom "0.0.0.0/0.0.0.0"
# signal-event nethserver-httpd-admin-update
# signal-event remoteaccess-update

Otherwise you can try with a textual browser like elinks:

# yum install elinks
# elinks https://localhost:980

Hope this helps!

Giacomo

PBX Ramdas Forums

unread,
Dec 29, 2013, 7:20:26 AM12/29/13
to Davide Principi, neths...@googlegroups.com

Hello David,

 

Yes, this work.

 

 

--
You received this message because you are subscribed to the Google Groups "NethServer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nethserver+...@googlegroups.com.
To post to this group, send an email to neths...@googlegroups.com.
Visit this group at http://groups.google.com/group/nethserver.
For more options, visit https://groups.google.com/groups/opt_out.

PBX Ramdas Forums

unread,
Dec 29, 2013, 7:21:52 AM12/29/13
to neths...@googlegroups.com
Hello Giacomo,

Thanks for your help.

Yes, My VPS is on the internet. Your solutions did make me access the admin
page of nethserver.

> -----Oorspronkelijk bericht-----
> Van: neths...@googlegroups.com
> [mailto:neths...@googlegroups.com] Namens Giacomo Sanchietti
> Verzonden: zaterdag 28 december 2013 14:28
> Aan: neths...@googlegroups.com
> Onderwerp: Re: [NethServer] Re: Access denied to the web interface using:
> https://<my_ip>:980
>

Alessio Fattorini

unread,
Dec 29, 2013, 2:17:28 PM12/29/13
to PBX Ramdas Forums, neths...@googlegroups.com
Hi pbx ramdas,
welcome on Nethserver and thank you for writing!
Ask us everything you want, we're very curious about your feedback  ;-)
Ciao
Alessio
Reply all
Reply to author
Forward
0 new messages