Community discussions

MikroTik App
 
olivier2831
Member
Member
Topic Author
Posts: 312
Joined: Fri Sep 08, 2017 6:53 pm

How to access WebFig through SSH ?

Wed Feb 09, 2022 9:31 am

Hello,

I was thinking about restricting WebFig to localhost and then access WebFig through SSH for the sake of having one less service open the world.
I was thinking of using something like "ssh -f -N foo@1.2.3.4 -LXXX:127.0.0.1:80" but my attempts failed.

How can you do that, from a Linux host ?

Best regards
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to access WebFig through SSH ?  [SOLVED]

Wed Feb 09, 2022 3:05 pm

It should work, just don't forget to enable it on RB:
/ip ssh set forwarding-enabled=local
 
olivier2831
Member
Member
Topic Author
Posts: 312
Joined: Fri Sep 08, 2017 6:53 pm

Re: How to access WebFig through SSH ?

Wed Feb 09, 2022 3:20 pm

It should work, just don't forget to enable it on RB:
/ip ssh set forwarding-enabled=local
It works !
If I'm not mistaken, too bad WebFig doesn't show this option, but at least, forwarding-enabled can also be set to both.
Thanks !

Who is online

Users browsing this forum: No registered users and 31 guests