GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.17k stars 436 forks source link

Access custom services from node context menu without much typing #2935

Open gmu-msk opened 4 years ago

gmu-msk commented 4 years ago

Imagine a topology with some nodes with multiple services on each: SSH on port 22, WEB on port 80 and some custom service on port 7000. The gns3server is running on remote, so I have to set up port forwarding on gns3 host machine to access these services. For example:

So I can type:

ssh gns3_host:9122
firefox gns3_host:9280
etc...

Now I would like to connect to the service using right-click -> custom console -> web But I can only use templates, that doesn't know about port-forwarding I set up. So I have to type the command manually every time. I think the solution is to implement configurable custom consoles per node so I could define a command once per node. The harder (maybe better) solution is to add a configurable port mapping feature to gns3server. For example let user define port for a custom service, map it to unique port and give it a variable. So user could use service templates with those variables.

gmu-msk commented 4 years ago

Maybe it shouldn't be "custom console" because the application might be different (web browser for example). It can be something like "custom service" or maybe someone can imagine a better name.

grossmj commented 4 years ago

Thanks for the idea. We will review what option would be the best.