Results 1 to 2 of 2

Thread: SSH connection from Outside (Dual-Stack lite)

  1. #1
    Join Date
    Oct 2019
    Beans
    2

    SSH connection from Outside (Dual-Stack lite)

    I would like to set a SSH connection to my Raspberry Pi via PuTTY while i am not in my local network.
    I have:

    A: A PC (outside my Network)
    B: A virtual Server ubuntu 18.04 and a static IPv4 adress (outside my network)
    C: Raspberry Pi 4, Raspbian Buster (home network)

    The Port for SSH on RPI is Port 1249. The Firewall-Settings in my router has been set.

    Since my router has only external IPv6 IP-Adress (Dual-Stack), I have rent a vserver which is outside my network.
    The vserver is changing the IPv4 requests into IPv6 via 6tunnel (4to6). That makes it possible to reach my cloud server
    trough my router and I dont need to use a DynDNS service.

    Now to my question. How can I make a SSH Tunnel between:

    A->B (I think this would be a IPv4 connection via PuTTY)
    B->C (?..I can only adress the IPv6 IP of my Raspberry)

    I have read the topics about SSH forwarding. But I dont know how to solve it with the Dual-Stack problem.

    If you need more Info pls let know.

    Thx for your help.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: SSH connection from Outside (Dual-Stack lite)

    Why not just use IPv6 from the client to the server directly?
    I don't know if PuTTY supports IPv6, but any Linux ssh client should. Windows and Linux has supported IPv6 for at least a decade.

    I can't test IPv6 stuff. We disable it in all our network gear and OS settings because we don't have the skill to secure it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •