NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Marvell's avatar
Marvell
Aspirant
Nov 23, 2011

Changing http&https apache ports

Hi all

I'm wondering If its possible to change to higher ports the default ones for apache (http 80 and https 443).

The question is that I would lile to access some addons over Inet, but I cant map a high port on router to a lower port on the nas. I just can to map same port numbers....

So the possible configurations are:

80 router -> 80 nas (no, security problems)
10000 router -> 10000 nas (ok this is what I'm looking for)

9 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired
    I would say you need to get a different router. Or look into if you router supports DD-WRT firmware: http://www.dd-wrt.com/site/index

    Changing the ReadyNAS configuration in the way you want is not supported and a firmware update would overwrite those changes.
  • mdgm wrote:
    Changing the ReadyNAS configuration in the way you want is not supported and a firmware update would overwrite those changes.

    The firmware update isn't a problem, after new update I must just change the configuration again.... that's all.

    About the router replacement isn't possible at all, because at the moment I'm using the router provided by the Inet provider.
  • Yes I know that file........but I was looking for more information previous to change the file.....You know, I don't need problems around that change....
  • On file /etc/frontview/apache/httpd.conf I can see two Listen comands, one for port 80 (http) and another one for port 443 (https).
    In this directory I can see a file named Virtual.conf. The contents for this file are:


    NasLocal01:/etc/frontview/apache# cat Virtual.conf
    #vers=2
    <VirtualHost _default_:80>
    SSLEngine off
    RewriteEngine on
    RewriteRule ^/admin$ https://%{SERVER_NAME}/admin
    RewriteRule ^/admin/(.*)$ https://%{SERVER_NAME}/admin/$1 [R,L]
    </VirtualHost>


    Whats the meaning of this file and this contents? Somebody knows?
  • I've change the Listen port values in http.conf and the port value on Virtual.conf.

    frontview/admin is just the only application that is not working properly...

    frontview/shares is ok

    The addons, webdav, BitTorrent, Transmision, nTop, Remote are working fine.....
  • Next step....I redo the file Virtual.conf to original one.

    This change make admin application works properly.

    About addons, these not working (using admin panel) : nasmonitor, phplogcon, phpmyadmin...... (admin panel have fixed directions to port 80)

    Not working addons (admin panel) are accessible through direct access to them.
  • All working fine......just not working the direct launcher on admin addons page....

    The direct access to all applications working fine.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More