My ISP unfortunately only provides a DS-Lite connection (no IPv4 address, only a IPv6 address) which makes it impossible to create IPv4 port forwardings to access devices in my local network.
But I have a vServer with an IPv4+IPv6 address and a user (non-root) shell. So I thought it would be possible to make a SSH tunnel from a raspberry pi in my local network to the vServer. And then to create a IP forwarding from the raspberry pi to the device I would like to reach in my local network. Is that in general possible? Can I initiate the tunnel from the raspberry pi or must it be initiated by the vServer to the raspberry pi?
Temporarily I created a webserver on the raspberry pi (on port 64321) and I tried the command:
ssh -R 64321:localhost:64321 user@tunnelserver.com
But I could not reach the webserver by entering tunnelserver.com:6421.
Thanks a lot for your help!