DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Restarting http remotely - 2750vn

More
02 Jul 2013 18:06 #76846 by stek1961
Restarting http remotely - 2750vn was created by stek1961
In a bold attempt to tunnel out of the firewalled environment here at work - I remotely dicked around with the ports for remote management and set them as this:

http - 80
https - none
ssh - 443

all others as default

ssh works on 443 tho not from work - must be some packet inspection going on but now I have nothing running on any sort of web port:

root@Vigor2750:~# netstat -an |grep LIST
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN
tcp 0 0 :::53 :::* LISTEN
tcp 0 0 :::23 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN

..just sshd on 443 which works now from my digs...

I live in Leeds but work in Dublin Mon-Fri so a remote reset isn't a good idea until Fri evening at least plus if I do that I'll most likely lose the settings I've already set - no great deal though.

In the meantime anyone know how to kick off the web-admin processes from the cli, without risking it losing connectivity totally, angry family at home? I've looked at some of the commands there but none look the part...

I'm a Unix guy so the Linuxy interface looks familiar.

Please Log in or Create an account to join the conversation.

More
03 Jul 2013 13:00 #76858 by sicon
Replied by sicon on topic Re: Restarting http remotely - 2750vn
you probably want something like this

> mngt rmtcfg http off

Please Log in or Create an account to join the conversation.

More
03 Jul 2013 13:15 #76860 by stek1961
Replied by stek1961 on topic Re: Restarting http remotely - 2750vn

sicon wrote: you probably want something like this

> mngt rmtcfg http off



That doesn't work on the 2750's - we're LinuxWRT based AIUI...

Please Log in or Create an account to join the conversation.

More
03 Jul 2013 13:57 #76863 by sicon
Replied by sicon on topic Re: Restarting http remotely - 2750vn
Bummer, sorry!
there must be a command that does it ill see if I can find it

Please Log in or Create an account to join the conversation.

More
03 Jul 2013 17:14 #76869 by stek1961
Replied by stek1961 on topic Re: Restarting http remotely - 2750vn

sicon wrote: Bummer, sorry!
there must be a command that does it ill see if I can find it



Done a bit of research, seems the 2750 series are based on OpenWRT, been all over that site for clues, seems you use the 'uci' command, which works, but appears I've either somehow borked the http configs, or 'uci config uhttpd' doesn't work on Drayteks version...

I'm pretty sure I've broken it my running sshd on 443 where it's expects https to be running - I'm going to chance a reconfig remotely of the sshd port to std, hope something comes back, if not - reset on Friday when I get home.

Must stop messing with things
Must stop messing with things
Must stop messing with things
Must stop messing with things
Must stop messing with things
x100

Please Log in or Create an account to join the conversation.

More
03 Jul 2013 19:27 #76871 by stek1961
Replied by stek1961 on topic Re: Restarting http remotely - 2750vn

stek1961 wrote:

sicon wrote: Bummer, sorry!
there must be a command that does it ill see if I can find it



Done a bit of research, seems the 2750 series are based on OpenWRT, been all over that site for clues, seems you use the 'uci' command, which works, but appears I've either somehow borked the http configs, or 'uci config uhttpd' doesn't work on Drayteks version...

I'm pretty sure I've broken it my running sshd on 443 where it's expects https to be running - I'm going to chance a reconfig remotely of the sshd port to std, hope something comes back, if not - reset on Friday when I get home.

Must stop messing with things
Must stop messing with things
Must stop messing with things
Must stop messing with things
Must stop messing with things
x100




Sorted! God I am a fecking Genius!

I suspected the sshd on 443 was the issue, set it back to 22 via ssh on cli, rebooted and now I have the gui back on 80/443 and httpd.conf in the process list...

So must for Draytek support when I said 'I can't access the GUI..' they said to change the settings 'in the GUI'....

Groan...

Please Log in or Create an account to join the conversation.

Moderators: Sami