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

    Network Share Across 2 ip ranges

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    11 Posts 2 Posters 3.3k 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.
    • H
      H2wk
      last edited by

      Hey hey.

      Is it possible to share a file on a file server on ip range a across a network on range b using pfsense.

      Range a is currently 10.1.0.0
      Range b is currently 10.2.0.0

      The subnets are both 255.255.255.0

      Both range a & b are on there own interfaces.

      The only difference between range a & b is the b has a proxy server filtering requests.

      Any help is greatly appreciate.

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

        If there is no nat between a and b, just create a rule to allow access from a to b.

        Aldo check if host in both networks know how to reach a and b.

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • H
          H2wk
          last edited by

          How would this affect the proxy then?

          Would it mean then that the pfsense firewall on a @10.1.0.1 and on b @10.2.0.1 would be reachable so users on subnet b can bypass the proxy?

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

            If your file server is not a http server, proxy server will not help.

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • H
              H2wk
              last edited by

              Good to know.

              I am currently setting up NAT. What protocol would i need to allow for the mapping to be successful?

              What protocol do computers use to find and map shared directories on the network?

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

                Map sharing? Is it windows sharing?

                If your share is from M$, the best way is routing instead of nat.

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

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • H
                  H2wk
                  last edited by

                  Its a samba file server.

                  All the machines on the network i am trying to share the file with are linux machines.

                  I hope that made sense

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

                    Samba works the same way as m$.

                    135-139 udp and tcp
                    445 tcp/udp

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

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • H
                      H2wk
                      last edited by

                      Ok so you recon i then nat the fileserver onto the 2nd network or would routing be more effective?

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

                        It's up to you. Both will work for only one file server

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

                        Help a community developer! ;D

                        1 Reply Last reply Reply Quote 0
                        • H
                          H2wk
                          last edited by

                          Thanks. I will give NAT a go and let you know if i get it working.

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