mirror of
https://github.com/Start9Labs/documentation.git
synced 2026-03-26 02:11:55 +00:00
Merge pull request #635 from 13Homer13/linux-backup
Fix for guide for RH's default firewall
This commit is contained in:
@@ -71,11 +71,23 @@ Installing Samba
|
|||||||
Again, replacing ``$USER`` and entering your Linux password when prompted, not your new SMB password.
|
Again, replacing ``$USER`` and entering your Linux password when prompted, not your new SMB password.
|
||||||
|
|
||||||
|
|
||||||
#. In case your system is running a firewall by default or due to your own custom configuration, enter this command to allow connections to Samba. If it generates an error, you can safely ignore it:
|
#. In case your system is running a firewall by default or due to your own custom configuration, enter these commands to allow connections to Samba. If it generates an error, you can safely ignore it:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. tabs::
|
||||||
|
|
||||||
|
.. group-tab:: Debian-based
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo ufw allow Samba
|
||||||
|
|
||||||
|
.. group-tab:: RedHat-based
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo firewall-cmd --permanent --add-service=samba
|
||||||
|
sudo firewall-cmd --reload
|
||||||
|
|
||||||
sudo ufw allow Samba
|
|
||||||
|
|
||||||
|
|
||||||
#. Create a directory to share or choose an existing one and make note of its location (path). For this example, we will call the share ``backup-share`` and its corresponding shared directory will be located at ``/home/$USER/start9-backup``. Replace ``$USER`` with your Linux username below.
|
#. Create a directory to share or choose an existing one and make note of its location (path). For this example, we will call the share ``backup-share`` and its corresponding shared directory will be located at ``/home/$USER/start9-backup``. Replace ``$USER`` with your Linux username below.
|
||||||
|
|||||||
Reference in New Issue
Block a user