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

    Mount_smbfs - Mount a remote Windows share

    Scheduled Pinned Locked Moved pfSense Packages
    9 Posts 2 Posters 4.2k 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.
    • C
      caste381
      last edited by

      Hello everybody.

      Are you aware of how I could mount a remote Windows share in PfSense filesystem?
      the mount_smbfs command is not available, but maybe there are alternatives I'm not aware of.

      Thanks for reading,

      1 Reply Last reply Reply Quote 0
      • W
        wagonza
        last edited by

        May I ask why you want to do this? What are you trying to do?

        Follow me on twitter http://twitter.com/wagonza
        http://www.thepackethub.co.za

        1 Reply Last reply Reply Quote 0
        • C
          caste381
          last edited by

          @wagonza:

          May I ask why you want to do this? What are you trying to do?

          Hello. Thanks for your reply.
          I would like to put the squid log in a remote windows server share. This server runs a custom security application that must create an internet usage report without relying on other software such as lightsquid. We are building a centralized web interface for analyzing logs from different sources. One of these is PfSense.

          1 Reply Last reply Reply Quote 0
          • W
            wagonza
            last edited by

            @caste381:

            Hello. Thanks for your reply.
            I would like to put the squid log in a remote windows server share. This server runs a custom security application that must create an internet usage report without relying on other software such as lightsquid. We are building a centralized web interface for analyzing logs from different sources. One of these is PfSense.

            Ok, you not going to get a windows share mounted on pfSense without jumping through some hoops and even then pfSense is the wrong place to be mounting windows shares. You have the following options:

            1. Secure Copy the log file from pfSense onto your windows server. You can automate winscp to do this, so logs can be pulled down at set intervals.
            2. Have squid log to a syslog server, which would require installing a syslog server on the windows server and have pfSense log to that server.

            Follow me on twitter http://twitter.com/wagonza
            http://www.thepackethub.co.za

            1 Reply Last reply Reply Quote 0
            • C
              caste381
              last edited by

              I'm actually testing openSSH on Windows right now. An scp in crontab is definitely a good Idea. I hadn't thoght of using a syslog, thou. That's a good hint as well.
              Thank you for your prompt help!

              1 Reply Last reply Reply Quote 0
              • W
                wagonza
                last edited by

                I meant have Windows scp the log file down using winscp and automate it. I havent used OpenSSH for windows so cant comment on that.

                Either way - they will both work.

                Follow me on twitter http://twitter.com/wagonza
                http://www.thepackethub.co.za

                1 Reply Last reply Reply Quote 0
                • C
                  caste381
                  last edited by

                  I don't know if I should have enabled scp support somewhere in PfSense settings, but all I can do with pscp from windows is log in, whereas I can't browse the directory structure nor pull any file.
                  Navigating the file system via normal ssh works fine.

                  Thank you

                  1 Reply Last reply Reply Quote 0
                  • W
                    wagonza
                    last edited by

                    @caste381:

                    I don't know if I should have enabled scp support somewhere in PfSense settings, but all I can do with pscp from windows is log in, whereas I can't browse the directory structure nor pull any file.
                    Navigating the file system via normal ssh works fine.

                    Thank you

                    Make sure you are using the user 'root' and not 'admin'.

                    Follow me on twitter http://twitter.com/wagonza
                    http://www.thepackethub.co.za

                    1 Reply Last reply Reply Quote 0
                    • C
                      caste381
                      last edited by

                      That was exactly the issue.
                      Thanks a lot!!

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