On Wed, Oct 20, 2021 at 09:15:10AM +0100, 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 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?
Is this all on the same physical LAN even though they're different subnets?
If it's the same physical LAN then surely all you need to do is to set up some sort of routing (i.e. use 'route') to allow you simply to tell your browser to go to 192.168.8.1 from 192.168.1.100.
It should basically say for any address in the 192.168.8.x range route requests to 192.168.1.200. You *might* also need soemthing on the Pi but I suspect that will already have a rule saying where 192.168.8.x requests should go.