Sample Header Ad - 728x90

Samba only works when firewall is disabled

1 vote
4 answers
1591 views
I have a Samba share on my Fedora Linux box. I was able to connect to it just fine when I was on Fedora 30, but after the upgrade to Fedora 31 it stopped working. > Fedora 31 > > Samba version: 4.11.2 > > Firewalld version: 0.7.2-1.fc31 I've tried each of the following methods to open up the firewall for Samba. I know you should only have to do one or the other, but neither method is working. firewall-cmd --add-service=samba --permanent firewall-cmd --reload and: firewall-cmd --permanent --add-port=139/tcp firewall-cmd --permanent --add-port=445/tcp firewall-cmd --permanent --add-port=137/udp firewall-cmd --permanent --add-port=138/udp firewall-cmd --reload These rules are applied to the default "public" zone, but somehow this isn't working. I know it's the firewall because if I stop the firewall I am able to browse and use my Samba share without any issues. Any ideas as to what is going on with my firewall?
Asked by etho201 (317 rep)
Nov 17, 2019, 09:29 AM
Last activity: Apr 21, 2024, 07:50 PM