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

    Full time connection between Pfsense and Raspberry PI

    Scheduled Pinned Locked Moved General pfSense Questions
    14 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.
    • NogBadTheBadN
      NogBadTheBad
      last edited by

      @xman111 said in Full time connection between Pfsense and Raspberry PI:

      freenas server

      What device is doing their routing ?

      Is the Raspberry PI sat on their LAN ?

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        I've not tried it but I imagine you could setup the OpenVPN client on the FreeNAS box itself and avoid any routing issues.

        Just use the tunnel IP of the FreeNAS box to connect to it from your network.

        Steve

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

          What router do they have? Does it support any vpn technology? If so just create s2s between your sites and you will be able to get to any device on their network. This would be the optimal way to do what your wanting to do.

          But if all you want is access to files on your freenas - then sure just have your freenas vpn to your pfsense box.

          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 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • X
            xman111
            last edited by xman111

            thanks for the reply guys. at their house, they just have an Asus router that does PPTP vpn. I just bought the pi to experiment with, don't have to use it for the VPN, it was just an option. I am working on rsync with ssh between the servers now.

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

              @xman111 said in Full time connection between Pfsense and Raspberry PI:

              router that does PPTP vpn

              So a NO then - since that is not a viable solution and hasn't been secure for like 5 years.

              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 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • X
                xman111
                last edited by

                ya, exactly John, a big no.

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

                  You can run a vpn endpoint on the inside of their network for a site to site bit is more complex and not as robust and leads to its own sort of issues - hairpinning and asymmetrical being 2 big ones.

                  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 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • X
                    xman111
                    last edited by

                    ya i can barely get ssh rsync going between the two servers :)

                    1 Reply Last reply Reply Quote 0
                    • X
                      xman111
                      last edited by

                      If I already have pfsense running as an openvpn server, would it make more sense to get the Freenas box or Raspberry PI to run as a client? can packets travel either way, ie. it wouldn't matter if it is the client or the server?

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        It shouldn't matter for a site to site tunnel. So, yes, setup the FreeNAS as a client and give it a try.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • X
                          xman111
                          last edited by

                          thanks man.

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