Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Is there a way to forward ssh through pfSense?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 2.7k 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.
    • R
      rountrey
      last edited by

      I keep my home network locked up tight, really there is only one way in from the outside and that's through ssh. Every now and then I need to grab something from my server at home or would like to use X forwarding (ssh -X) to another home computer. If I needed a file I would have to scp it to my pfSense box from a home computer, then scp from the pfSense box to a computer I'm on outside my network. Is there a way to do this without port forwarding for separate computers at home, say a tunnel through pfSense? Also, I have never had much luck with setting up a VPN, and I have tried several tutorials with no luck.

      1 Reply Last reply
      Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        zebedee package can do it, without the need of a valid user on pfsense.

        Just to be sure I've understood your setup, today you portforward internal servers inside a ssh connection to firewall and then access server 1 on 127.0.0.1:2222 for example?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply
        Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          once you forward ssh to one box inside your network, you can just tunnel anything you want through that connection to any other server on your network.  Example remote desktop if you want.

          But if what you want is access to your whole network from outside - then vpn would be the better route.  Openvpn is pretty much click through the wizard and your good to go.

          I would suggest you work out your vpn issues as your best solution

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 26.07 | Lab VMs 2.9.0, 26.07

          1 Reply Last reply
          Reply Quote 0
          • P
            patmcevoy
            last edited by

            If you are looking to get the most of your SSH service, read the SSH book by Michael Lucas:

            https://www.michaelwlucas.com/nonfiction/ssh-mastery

            I am not affiliated with Michael in any way other than having a shelf load of his books.

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy