Linux                                                      
** 2/21/26   Networking                  
      Linux                  
                                                         
   
  Home
  h_hh_ll The "Triple Threat" of Linux networking: The "Tailscale IP" Advantage Because you used the Tailscale IP, this share will now work whether you are sitting at home or at a coffee shop in another country,
  Linux 1 Tailscale interface bind as long as both devices have Tailscale turned on. No port forwarding or VPN configuration is needed!
  Windows 2 Windows Firewall profile
  Notes 3 Linux filesystem permissions
  Template
   
   
    -
    Variations of commands used.
    ls -ld /var/www/html
    chmod 711 /home/mdh
    sudo chmod -R 775 /path/to/share The "Permission" Fix
    sudo chown -R mdh:mdh /path/to/share The "Ownership" Fix
    sudo chmod 755 /home/mdh/your_shared_folder # Grant read/execute permissions to the folder path
    sudo chown mdh:mdh /home/mdh/your_shared_folder # Ensure you (the user) own it
   
    sudo tcpdump -i tailscale0 port 445
    sudo ss -tulpn | grep :445
    sudo ss -tulpn | grep smbd
   
    sudo apt update && sudo apt install tcpdump -y
   
    sudo systemctl restart smbd
    sudo systemctl restart smbd nmbd
   
    sudo smbstatus
    sudo testparm After changing the config, always run:
    sudo tail -f /var/log/samba/log.smbd
   
    sudo nft list ruleset Check if ANY firewall is active
    sudo firewall-cmd --add-icmp-block-inversion --permanent
    sudo firewall-cmd --reload
    sudo firewall-cmd --state
    sudo ufw allow samba