9/9/2023 0 Comments Centos samba server setup![]() Now, if your Samba setup demands the old netbios calls: -A RH-Firewall-1-INPUT -s 192.168.10.0/24 -m state -state NEW -m udp -p udp -dport 137 -j ACCEPT Of course you need to modify to your own network and this makes is far more secure than giving the entire world access to your network. s (ip address) limits to the Class C ip addresses of your installation. I'm not going to cover firewalls but understand the basics. ![]() A RH-Firewall-1-INPUT -s 192.168.10.0/24 -m state -state NEW -m udp -p udp -dport 445 -j ACCEPTĭon't be scared of the syntax. If you use Active Directory and want to enable that function ONLY in Samba use. Use your favorite text editor (such as vi or nano or joe or whatever works for you and add these lines to the file depending on your situation. Go into your firewall file /etc/sysconfig/iptables. Now why know this? Its because you have to know which ports to open and which ports to NOT open for SAMBA otherwise you're not going to get it to work in CentOS. Port 445 - Microsoft-DS SMB file sharing (UDP). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |