medhat I've not been able to successfully install bore on an Opalstack server and after reading its README I don't think it's good fit for our platform because its control port can't be changed to use a unique port assignment.
Luckily you don't need bore to do what you've described - you can instead use SSH like so:
- Create a "Nginx Proxy Port" app and make a note of its port assignment.
- Attach the new app to site.
- On your own computer, start your local server process.
- On your own computer, run the following command to forward your local port to your Opalstack server. In this example,
user@opalN.opalstack.com is your shell user,
55555 is your port assignment, and
8000 is your local port:
ssh user@opalN.opalstack.com -R 55555:127.0.0.1:8000 -N
Your terminal will appear to do nothing after you execute the command, that's to be expected. At this point the port is being forwarded and you can access your local site via your Opalstack server using the URL of the site you created in step 2.
To terminate the tunnel press
CTRL-C in the terminal session.
Hope this helps 🙂