Mount_smbfs - Mount a remote Windows share
-
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,
-
May I ask why you want to do this? What are you trying to do?
-
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. -
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:
- 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.
- 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.
-
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! -
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.
-
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
-
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'.
-
That was exactly the issue.
Thanks a lot!!