1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Is possible to change web gui default port??

Discussion in 'Asuswrt-Merlin' started by Orencio, Jul 13, 2018 at 11:15 AM.

  1. Orencio

    Orencio New Around Here

    Joined:
    Friday
    Messages:
    3
    Hi friends, i've been spending some time reading this forum, searching for information about change default web GUI server port. I don't like very much to have the router with a standard port open to network users.

    I know that i can configure 8443 as SSL but i want to "move" http to a diferent port.

    Is this possible?

    Thanks
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. Zirescu

    Zirescu Very Senior Member

    Joined:
    Jul 16, 2013
    Messages:
    721
    Location:
    Kelowna, BC
    If you enable the HTTPS option only than the HTTP port will be inaccessible and you can set the HTTPS port to a different number if desired. This will secure the network traffic to the router as well as anyone could just sniff the http data to the router.
     
    Orencio likes this.
  4. Orencio

    Orencio New Around Here

    Joined:
    Friday
    Messages:
    3
    thanks for the answer, do you think that will release port 80? i'm planning to mount a web server in standard and secure ports and i dint want any conflicts.

    thank you again!
     
  5. RMerlin

    RMerlin Super Moderator

    Joined:
    Apr 14, 2012
    Messages:
    27,218
    Location:
    Canada
    The ability of changing port 80 is something Asus has been gradually implementing for the past year or so. I believe the final pieces should be in their latest code, however I don't know if the change is complete yet. The complication arise from the fact that various features of the router expect the httpd to be answering on a given port (for instance, the block page shown by the Trend Micro Malicious Website blocker). It's more complicated than just binding httpd to a different port.
     
    daviworld, Vexira and Orencio like this.
  6. Orencio

    Orencio New Around Here

    Joined:
    Friday
    Messages:
    3
    Thanks a lot for the answers!!!
     
  7. unsynaps

    unsynaps Regular Contributor

    Joined:
    Nov 9, 2014
    Messages:
    184
    Location:
    Halethorpe, MD
    Code:
    # Configure ports to something more sensible
    nvram set webdav_https_port="8443"
    nvram set https_lanport="443"
    nvram set misc_httpsport_x="443"
    
    nvram set http_enable=2
    
    nvram commit
    reboot
    Code I have in my setup script.
     
    daviworld and Vexira like this.
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!