Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Tunneling through ssh

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jlepthien
      last edited by

      Hi there,

      If I open up a ssh tunnel to my pfsense box and forward port 443 into that tunnel I can access my pfSense box from https://localhost. I also want to access my iMac via VNC via ssh. Is this somehow possible with ssh connected to pfSense? I do not want to open up a seperate tunnel and configure ssh on my iMac. Can I somehow tell pfSense to forward certain tunneled ports to my iMac?

      Thanks in advance.

      Ah, running 2.0-beta1 ;-)

      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        This has nothing to do with pfSense just search internet for tunneling through ssh.

        1 Reply Last reply Reply Quote 0
        • J
          jlepthien
          last edited by

          Thanks again for your kind answer. I am sorry that I thought that somehere nice here could help me out…

          I know how to forward ports into ssh which is working, but my question was an other. Have you actually read my question? If you do not want help me, ermal, then please stop answering my threads. Thanks!

          | apple fanboy | music lover | network and security specialist | in love with cisco systems |

          1 Reply Last reply Reply Quote 0
          • _
            _igor_
            last edited by

            He's right, but tunneling vnc via ssh is made by
            ssh -L5900:pfsense-IP:5900 user@mac
            after that connect your vnc to localhost.

            You can look at the mac man-pages, that explains you the whole thing.

            1 Reply Last reply Reply Quote 0
            • J
              jlepthien
              last edited by

              Thanks for the info igor !

              I didn't know that you do not need to change anything on the server side. This way it works like a charm. I am using Putty here on Windows 7.

              Thanks.

              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.