User Tools

Site Tools


mywiki:linux:fedora_firewall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mywiki:linux:fedora_firewall [2014/11/05 13:45] shaoguohmywiki:linux:fedora_firewall [2022/04/02 17:30] (current) – external edit 127.0.0.1
Line 8: Line 8:
  
  
 +====== Disable firewall/seclinux ====== 
 +#Disable firewall otherwise windows cannot see the PC 
 +
 +systemctl stop firewalld       #temporarily stop firewall
 +
 +systemctl disable firewalld    #disable firewall after every reboot
 +
 +#dsiable secure linux, otherwise windows don't have any access right to the shared folder
 +
 +setenforce 0       #temporarily disable selinux
 +
 +set below line in file /etc/selinux/config:  #disable selinux for every reboot
 +
 +    SELINUX=disabled
 +
 +    
 ====== Enable samba Server ====== ====== Enable samba Server ======
  
Line 15: Line 31:
  
 ====== start Samba server ====== ====== start Samba server ======
-systemctl start smb.service+systemctl restart smb.service 
 + 
 +====== List all samba users registered ====== 
 +pdbedit -L -v 
 + 
  
-systemctl start smb.service +systemctl restart smb.service 
mywiki/linux/fedora_firewall.1415166335.txt.gz · Last modified: (external edit)