Community discussions

MikroTik App
 
kajotsoft
just joined
Topic Author
Posts: 2
Joined: Tue Nov 08, 2022 7:34 pm

ssh -R - remote port mapping

Tue Nov 08, 2022 7:47 pm

Hello
I have a mAP router (RBmAP2nD) and try to create reverse ssh tunel.
mAP is in local network (connected through ether 1), and it have local IP. I would like to forward port (8888) from my public VPS to its local port (8080) and then run WireGuard server on it. but there is an error I doesn't understand.
I run below command:

/system ssh MY_USERNAME@MY_VPS_SERVER_NAME port=12345 -R 8888:localhost:8080

and get error: expected end of command (line 1 column ...) where column number point to [8]888:localhost:8080 (marked with [])

is it possible on mikrotik and I'm doing something wrong or it is not possible (my vps have ssh on custom port 12345)

BR
KJ

Who is online

Users browsing this forum: BinaryTB, Bing [Bot], Google [Bot] and 76 guests