I have a server at a remote location, which is on two subnets (i.e. it has two network interface cards NIC1 and NIC2, A is on e.g. 220.127.116.11, B is on 192.168.1.10). I can ssh in via A, which is outward facing.
How can I access resources in the subnet B from my home computer. E.g. I would like to access the switching hub of subnet B via its browser interface (192.168.1.0).
All machines are running Ubuntu 18.04.
I do not want to set up a VPN server on the remote machine (for security reasons). I would prefer to do everything over my existing SSH tunnel.
I know that I have previously been able to create a tun interface on my local (home) computer via ssh, using sshuttle:
sshuttle -r user@remoteserver 0.0.0.0/0 -vv --dns
However, this will direct my HTTP and HTTPS requests through the "normal" gateway of the remote server (I.e. I will access the internet normally with my IP showing up as the server's IP).
I want to go via the subnet B (to access via browser the switching hub's network interface).
Is there a direct way to do this or do I need to go about this in a different way?