Port routing plugin for the MeshCentral2 Project.
Pre-requisite: First, make sure you have plugins enabled for your MeshCentral installation by adding this to the settings section of your './meshcentral/meshcentral-data/config.json' file:
"plugins": { "enabled": true },
Restart your MeshCentral server after making this change.
To install, simply add the plugin configuration URL when prompted:
https://raw.githubusercontent.com/ryanblenis/MeshCentral-RoutePlus/master/config.json
This plugin allows users to map local ports to remote ports on machines through the MeshCentral server, similar to how MeshCmd with an actions.txt forwards a port. However, instead of having MeshCmd, the user only needs a Mesh Agent installed on each machine.
- Supports multiple ports and endpoints simultaneously
- Settings are saved on the MeshCentral server
- Users can re-map ports and computers on the fly
- Port forwarding is activated upon login to MeshCentral
- Active port maps can always be viewed and changed under "My Account" > "Account Actions" > "RoutePlus"
- Tunnels are created in the same way that MeshCmd creates them, and subject to the same authentication.
- Source ports are, by default, randomly generated, however they use a "best efforts" approach to keep the same source port for as long as you have the mapping in place. If the port is found to be in use, it will be re-mapped (and can always be viewed in the settings)
- Source port can now be set to a static port, however if that port is unavailable on the host (e.g. in use) no other port will be assigned.
- Head over to "My Account" > "Account Actions" > "RoutePlus"
- In the Node Selection (left) side, choose "Set" on the computer you use on a daily basis to set a computer as "My Computer" This is "your" computer where the ports will be mapped similar to where you would run MeshCmd.
- In the Node Selection list, choose the computer(s) and protocol(s) you'd like to forward and click "Add"
- The node will now appear in the "Active Mappings" section
- Note the "Source Port" for this service. You can now connect to "localhost: