page counter next up previous contents
Next: 測試 SMB 分享目錄 Up: SELinux 管理 Confined 服務 Previous: SAMBA 架設   Contents   DYWANG_HOME

防火牆設定

  1. 防火牆永久加入 samba 服務。
    [root@kvm5 ~]# firewall-cmd --permanent --add-service=samba
    success
    
  2. 重新載入防火牆。
    [root@kvm5 ~]# firewall-cmd --reload 
    success
    
  3. 列出防火牆設定,支援的服務包含 samba。
    [root@kvm5 ~]# firewall-cmd --list-all
    public (default)
      interfaces: 
      sources: 
      services: dhcpv6-client samba ssh
      ports: 
      masquerade: no
      forward-ports: 
      icmp-blocks: 
      rich rules:
    



De-Yu Wang 2020-05-14