On Fri, Oct 22, 2021 at 12:55:48AM +0100, Paul Tansom wrote:
On 20/10/2021 09:15, Mark Rogers wrote:
My Pi is on my local network (headless and somewhat physically inaccessible) at 192.168.1.200
I have a 3G USB stick connected to my Pi, which presents itself as an ethernet device (eth1); the Pi gets an IP address of 192.168.8.100 and the USB stick has a configuration website on 192.168.8.1
How can I access this website from my laptop (192.168.1.100) via SSH?
I tried SSH tunnelling but it's not working, at least in part because the web page links to resources at [1]http://192.168.8.1 which aren't accessible. I have tried w3m on the Pi itself, but the web page has loads of javascript so doesn't work.
Presumably I can set up a proxy somehow? Other suggestions?
You could run X through the ssh connection:-
ssh -X 192.168.1.200
... and then run a GUI browser on the PI which will display 'locally' on the system you have ssh'ed from. It'll be quite slow but across a fast LAN should be acceptable.