I'm trying to expose my local dev server externally so that my web app can be tested by users who are not in my local network. Users who test the web app must run the apps with localhost:3000 and localhost:8080 in their browsers, as those are white listed domains. I thought this would be a perfect application for my Raspberry Pi to act as a proxy using SSH tunneling. This is my setup:
Local port forwarding (i.e. ssh -L) is working well, but I can't get remote port forwarding (i.e. ssh -R) to work. I'm not able to load localhost:3000 or localhost:8080 from either the Client or the Raspberry Pi. I even enabled
GatewayPorts yes on my Raspberry Pi as instructed here: https://blog.trackets.com/2014/05/17/ssh-tunnel-local-and-remote-port-forwarding-explained-with-examples.html. The fact that those URLs won't load on my Raspberry Pi implies to me that this problem is between the Raspberry Pi and my Dev Server. How can I get this proxy working?