Page 1 of 1
How to Enable Web admin via Telnet
Posted: Thu Mar 25, 2010 6:29 pm
by mdcoll25
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 ?
Re: How to Enable Web admin via Telnet
Posted: Mon Mar 29, 2010 9:01 am
by Eric
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:
Code: Select all
config 'remote_accept' 'ra_https'
option 'local_port' '443'
option 'remote_port' '443'
option 'proto' 'tcp'
option 'zone' 'wan'
Then run:
You should then be able to access the Gargoyle GUI remotely (on port 443).
Re: How to Enable Web admin via Telnet
Posted: Fri Apr 02, 2010 7:26 pm
by mdcoll25
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
Re: How to Enable Web admin via Telnet
Posted: Sat Apr 10, 2010 1:29 pm
by Eric
after using ssh to login (putty if you're on windows), run
Code: Select all
vi [path_to_file_you_want_to_edit]
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.
Re: How to Enable Web admin via Telnet
Posted: Tue Jul 06, 2021 3:42 pm
by islavchev
What has to be done to achieve the same result for gargoyle 1.12.0?
Re: How to Enable Web admin via Telnet
Posted: Tue Jul 06, 2021 5:54 pm
by Lantis
The instructions have not changed.