Port Forwarding
Attention
This guide assumes you are using the reference portal atsphere-testbed.net
. Instructions on this page only apply to that portal.Operating System Requirements
Linux: No special requirements
Mac: No special requirements
Windows: No special requirements, but mrg
command line utility works better under Linux, so it’s recommended to use WSL (Windows Subsystem for Linux), which can be found from the Microsoft Store. Make sure to download Ubuntu as the distribution.
Application Requirements
The instructions assume you have installed mrg
utility on your home machine. To do so, please obtain the source (and follow README to compile it) or binary from this site.
The instructions also assume that you have configured your API point (you only have to do this once) and have logged into your merge account by doing mrg login yourusername -p yourpassword
(you have to do this each time you open a new terminal on your machine).
Port Forwarding Steps
Make sure that you have realized and materialized your experiment, and that you have set it up.
To do the actual port forwarding between a port yourport
on your machine and node yournode
in an experiment within yourproject
via an XDC named yourxdc
, you need to SSH with the following command:
mrg xdc ssh yourxdc.yourproject -L yourport:yournode:80
So, to port forwarding onto 8080 with the pathname
lab, you would type this:
mrg xdc ssh xdc.yourusername -L 8080:pathname:80
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.