DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Restarting http remotely - 2750vn
- stek1961
- Topic Author
- Offline
- Banned
Less
More
- Posts: 4
- Thank you received: 0
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.
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.
- sicon
- Offline
- Contributor
Less
More
- Posts: 642
- Thank you received: 0
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
> mngt rmtcfg http off
Please Log in or Create an account to join the conversation.
- stek1961
- Topic Author
- Offline
- Banned
Less
More
- Posts: 4
- Thank you received: 0
03 Jul 2013 13:15 #76860
by stek1961
That doesn't work on the 2750's - we're LinuxWRT based AIUI...
Replied by stek1961 on topic Re: Restarting http remotely - 2750vn
you probably want something like thissicon wrote:
> 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.
- sicon
- Offline
- Contributor
Less
More
- Posts: 642
- Thank you received: 0
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
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.
- stek1961
- Topic Author
- Offline
- Banned
Less
More
- Posts: 4
- Thank you received: 0
03 Jul 2013 17:14 #76869
by stek1961
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
Replied by stek1961 on topic Re: Restarting http remotely - 2750vn
Bummer, sorry!sicon wrote:
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.
- stek1961
- Topic Author
- Offline
- Banned
Less
More
- Posts: 4
- Thank you received: 0
03 Jul 2013 19:27 #76871
by stek1961
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...
Replied by stek1961 on topic Re: Restarting http remotely - 2750vn
stek1961 wrote:
Bummer, sorry!sicon wrote:
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: Chris, Sami
Copyright © 2024 DrayTek