What's new

Changing web panel access port via SSH?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Gavlan

Occasional Visitor
Hi there! I am running merlin firmware on Asus AC-66U and I currently have a problem. Whenever I try to access my admin panel it never shows up, I changed it to port 8080 but not it dosent work anymore so there's litterally no way for me to access it. I can still login via SSH though, so I wonder, where can I change the port used via SSH?

All of this happened after what I think was a DDOS attack. I only use 2 of the 3 antennas that came with the router, could this also be the problem of a random super lag spike that lasted 5 minutes. I know that this is poorly written and that I ask many questions. Finally, is there a way to add a working DDOS protection to some extent?

Thanks.
 
Hi there! I am running merlin firmware on Asus AC-66U and I currently have a problem. Whenever I try to access my admin panel it never shows up, I changed it to port 8080 but not it dosent work anymore so there's litterally no way for me to access it. I can still login via SSH though, so I wonder, where can I change the port used via SSH?

You cannot change the HTTP port, only HTTPS, or remote port. Which one did you change actually? Are you using http or https?

All of this happened after what I think was a DDOS attack. I only use 2 of the 3 antennas that came with the router

Don't do that. The router expects all three antennas to be connected, as it can switch between them based on the location of your clients.

, could this also be the problem of a random super lag spike that lasted 5 minutes. I know that this is poorly written and that I ask many questions. Finally, is there a way to add a working DDOS protection to some extent?

If you get a real DDOS attack, then the only efficient protection available has to be done by your ISP. Otherwise, no matter what you do on your end, if someone sends gigabits of traffic from multiple IPs toward you, it will saturate your connection, as it is much slower than what your ISP can get on its own end. Your router gets the traffic regardless of how it's configured, so there's nothing you can do about it.
 
Whenever I try to access port 80, it tries to connect in about 30 secs before it disconnects. Whenever I access the https port (8080) i also get the same error.

By the way I have lost the 3rd antenna during moving
 
By the way, I have an 2.4/5ghz antenna that was provided with an asus wireless card that I bought for my computer, do you think it would be harmless to attach it to the router if it was to fit?
 
Whenever I try to access port 80, it tries to connect in about 30 secs before it disconnects. Whenever I access the https port (8080) i also get the same error.

By the way I have lost the 3rd antenna during moving

But which specific setting did you change to create the issue? It's hard to tell you how to correct the setting change you did without knowing what you actually changed.

These commands should at the very least ensure that http access is available on port 80:

Code:
nvram set http_enable=2
nvram commit
service restart_httpd
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top