I depoyed some units without activating web access via the remote interface.
I have telnet access and have tried the procedure that dd-wrt have , but it doesnt work.
How to enable web admin if you are locked out ?
How to Enable Web admin via Telnet
Moderator: Moderators
Re: How to Enable Web admin via Telnet
Sorry -- I didn't see this question before now (lots of questions right after I paid more attention to).
I assume you mean ssh access -- telnet is not active by default on OpenWrt. So, as I understand it, you're saying you've activated remote SSH but not the remote web interface.
Here is how to get the remote web interface active again, assuming you want to connect via https and the https server is running on port 443. Note that this procedure will only work on Gargoyle, not default OpenWRT. You need to add the following code to the end of /etc/config/firewall:
Then run:
You should then be able to access the Gargoyle GUI remotely (on port 443).
I assume you mean ssh access -- telnet is not active by default on OpenWrt. So, as I understand it, you're saying you've activated remote SSH but not the remote web interface.
Here is how to get the remote web interface active again, assuming you want to connect via https and the https server is running on port 443. Note that this procedure will only work on Gargoyle, not default OpenWRT. You need to add the following code to the end of /etc/config/firewall:
Code: Select all
config 'remote_accept' 'ra_https'
option 'local_port' '443'
option 'remote_port' '443'
option 'proto' 'tcp'
option 'zone' 'wan'
Code: Select all
/etc/init.d/firewall restart
Re: How to Enable Web admin via Telnet
Thanks for this.
Unfortunately I'm a but of a thicky when it comes to linux commandline.
Can you tell me what to type to locate and add those lines to the end of the file specified ?
Cheers
Mike
Unfortunately I'm a but of a thicky when it comes to linux commandline.
Can you tell me what to type to locate and add those lines to the end of the file specified ?
Cheers
Mike
Re: How to Enable Web admin via Telnet
after using ssh to login (putty if you're on windows), run
This will launch the vi editor. There are multiple guides on how to use vi -- just google "vi editor tutorial", and you should find what you need.
Code: Select all
vi [path_to_file_you_want_to_edit]
Re: How to Enable Web admin via Telnet
What has to be done to achieve the same result for gargoyle 1.12.0?
Re: How to Enable Web admin via Telnet
The instructions have not changed.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.