Displaying 20 results from an estimated 1000 matches similar to: "Samba Samba and ufw"
2019 Feb 15
2
Samba Samba and UFW
Louis,
Did not mean to confuse. Before I upgraded to Mint 19.1 I could go to
the network, click on windows network, click on workgroup, then office
and the windows pc (office) would mount. No problems. THe folders on the
windows machine would be accessed. Now in Mint 19.1 I get the error
"Unable to mount location....". We traced this behavior to the UFW
firewall blocking the
2019 Feb 12
1
Samba and ufw (Martin McGlensey)
Louis,
Made the changes. Still unable to mount office. Firewall also blocks
Thunderbird mail and maybe internet. Will check that more fully
later.Any thoughts ob Tony's response?
Outputs:
martin at radio:/etc$ sudo apt-get install ufw
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no
2019 Feb 07
3
Samba and ufw
Rowland,
OK. Should I delete these lines?
diff yours mine
63d62
yours# -A ufw-after-logging-output -m limit --limit 3/min --limit-burst 10
-j LOG --log-prefix "[UFW ALLOW] "
85,87d83
yours# -A ufw-before-logging-forward -m conntrack --ctstate NEW -m limit
--limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW AUDIT] "
yours# -A ufw-before-logging-input -m conntrack
2019 Feb 11
2
,Re: Samba and ufw
Louis,
Tried the rules you suggested:
These work. I think that rules out any Windows problems.
ufw insert 1 allow in on enp2s5 from 192.168.254.15 to 192.168.254.39
ufw insert 2 allow in on enp2s5 from 192.168.254.39 to 192.168.254.15
These do not work.
ufw insert 1 allow in on enp2s5 proto tcp from 192.168.254.0/24 to 192.168.254.39 port 139,445
ufw insert 2 allow in on enp2s5 proto udp from
2019 Jan 30
6
Samba and UFW
Rowland,
The computer name 'martin-RB042AV-ABA-a1410y' was set by Linux Mint when it
was installed. I'm not sure I can change it. I check it on the Mint forum.
I'll turn off the smb... feature and see what happens. Yes the ports listed
below are open and set to pass through the firewall. Should I unset the
netbios name". Going to try the modification to the ufw rules file as
2019 Feb 06
2
Samba and ufw
Rowland,
Did some editing in smb.conf that I had to reverse. Now I'm back to
being able to connect with the firewall disabled. When I enable the
firewall I get as far as windows network -> workgroup but no connection.
I have only the rules you recommended in your last email.
Louis,
The information you requested is below:
martin at radio:~$ dpkg -l|egrep "iptables|ufw"
iiĀ
2019 Jan 29
2
Samba and UFW
Reindl,
I will check that. Not sure how fix it. Will look on internet. Would you give some more information on the subject.
Thanks
Sent from my iPad
Marty (843)-546-4822
> On Jan 29, 2019, at 10:43 AM, Reindl Harald <h.reindl at thelounge.net> wrote:
>
>
>
>> Am 29.01.19 um 16:39 schrieb Marty via samba:
>> Here is the ufw.log after enabling logging medium and
2019 Feb 11
4
Samba and ufw
Louis,
Followed your instructions so far. Take a look at the output of the
various steps. I'm down to removing items form /etc/ufw. I'm not sure
what I should delete. I know some of the files are backups generated
after some rules were deleted. Please tell me what is safe to delete
before I procede further.
martin at radio:~$ sudo apt-get remove --purge ufw gufw
Reading package
2019 Feb 06
1
Samba and UFW
Louis,
Last lines in /etc/default/ufw:
IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_irc nf_nat_irc
nf_conntrack_netbios_ns"
Looks like nf_contrack_netbios_ns is already loaded.
iptables -S requires more arguments. Suggestions?
Marty
2019 Jan 27
3
Samba and UFW
Good Morning,
Using Linux Mint 19.1 I have configured UFW to allow Samba. I see that ports
135 tcp, 137 udp, 138 udp , 139 tcp and 445 tcp are all set properly. The
problem is that with UFW enabled I cannot connect to my Windows 8.1 PC.
Error "Unable to mount location - failed to retrieve list from server, file
or directory does not exist". With UFW disabled I can connect and browse
2019 Jan 28
3
Samba and UFW
Hello,
Thanks for your responses. I have attached a file containing the responses
to ufw.log, syslog, ufw status numbered and ufw status verbose (Best use
Word/Wordpad to open it). The OS is Linux Mint 19.1.
Samba version 4.7.6 - Ubuntu. Samba runs on boot up. I connect using the
file explorer Go -> Network menu selections. Hope this information will be
of help.
Regards,
Marty
2019 Jan 29
3
Samba and UFW
Here is the ufw.log after enabling logging medium and trying to connect to
the windows net. Unfortunately the web Microsoft page is in German. I think
it says window uses smb1 syntax.
Jan 27 15:11:09 martin-RB042AV-ABA-a1410y kernel: [ 887.241685] [UFW BLOCK]
IN=enp2s5 OUT= MAC=00:19:21:a2:11:5e:74:27:ea:ab:1e:e0:08:00
SRC=192.168.254.15 DST=192.168.254.39 LEN=90 TOS=0x00 PREC=0x00 TTL=128
2019 Jan 29
2
Samba and UFW
Rowland,
I found the reason for the "wrong argument" error. The windows firewall was
set to block remote connections. Fixed that now I'm able to connect to the
network. Now I'm back to the original problem. That is I cannot connect to
the windows network with ufw enabled. Error "Cannot mount location - file or
directory does not exist". If I press ok the error
2019 Jan 31
0
Samba and UFW
OK Guys this where we are now. The hostname on the Mint 19.1 PC was a
combination of the user name and the PC model. I changed it to "radio". That
plus the user name gives "martin at radio". That is twelve characters long. No
change. Still not able to mount network.
Removed netbios name from smb.conf. No change.
Set Windows app to no smb/ctif sharing. Got nothing when trying
2019 Feb 01
2
Samba and UFW
Just call me Marty. Ham13 is a login name on another system. OK. I'm posting
the smb.conf and thee smbclient responses form both Linux PC's. One running
Mint 19.1 and the other running Mint 18.3. The 18.3 machine does connect to
the network. All I want to do use the file manager to connect to and open
directories and to move files between the three PC's.
Regards,
Marty
smb.conf from
2019 Feb 12
1
Samba and ufw
Am 12.02.19 um 09:02 schrieb L.P.H. van Belle via samba:
> Not everyone understand iptables that good Reindl
i switched 1 years ago to Linux and wrote my first "iptables.sh" on day
one which got improved over the years, so it#s not rocket science to learn
> Ufw can be handy and its usable, now gufw thats the problem here.
> Gufw added the profile and sadly i dont know anything
2019 Feb 18
2
Samba Samba and UFW
Ok Martin,
I think i found you problem.
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1778322
So i think you have to wait until the fix enters mint.
Greetz,
Louis
2019 Feb 07
0
Samba and ufw
On Wed, 6 Feb 2019 16:05:40 -0500
Martin McGlensey via samba <samba at lists.samba.org> wrote:
> Rowland,
>
> Did some editing in smb.conf that I had to reverse. Now I'm back to
> being able to connect with the firewall disabled. When I enable the
> firewall I get as far as windows network -> workgroup but no
> connection. I have only the rules you recommended in
2015 Mar 27
2
Where does Samba mount lan disk
I have a Seagate BU drive that I access using Samba Server. I want to backup
my system to that drive. I can see it in the file manager but the BU
software cannot find it. How can I access this drive from the command line?
Where is it mounted? What would the path be?
Regards,
Marty
2019 Feb 07
0
Samba and ufw
Yes,
Try this ( copy past-able. )
ufw disable
ufw reset
ufw limit 22/tcp
ufw allow in proto tcp from any port 389,1024:65535 to any port 1024:65535
ufw allow 139,445/tcp
ufw allow 137,138/udp
ufw --force enable
Sorry for the late reply, but im bit busy with some servers here.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org]