Navigation

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

    Is there a way to forward ssh through pfSense?

    General pfSense Questions
    4
    4
    1707
    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
      • marcelloc
        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
        • johnpoz
          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
          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

          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
            • First post
              Last post