Results 1 to 5 of 5

Thread: Firewall prevents connection to Synology NAS

  1. #1
    Join Date
    Oct 2010
    Beans
    20
    Distro
    Ubuntu 16.04 Xenial Xerus

    Firewall prevents connection to Synology NAS

    I am having difficulty connecting to my new Synology DS211j NAS unit using Connect to Server. When the ufw firewall is active, I receive the following error:

    Cannot open location "smb://myuserid@diskstation/backups/"
    Failed to mount Windows share


    When the firewall is disabled, it works fine. Results of "sudo ufw status" command is:
    Status: Active

    9997:9999/udp ALLOW Anywhere
    135,139,445/tcp ALLOW Anywhere
    137,138/udp ALLOW Anywhere

    Since I am a recent convert to LINUX, I need some assistance in troubleshooting this problem. Can someone school me in the activation and research of a log that will help diagnose my problem? I am not familiar with any of the logging mechanisms of LINUX. Any help will be appreciated.

    Thanks,
    acag





  2. #2
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    13,992
    Distro
    Ubuntu Budgie Development Release

    Re: Firewall prevents connection to Synology NAS

    If you have the UFW GUI known as fire wall configuration installed from the software center , it is possible to set rules and enable logging which appears in the log file viewer.
    Last edited by Frogs Hair; January 8th, 2011 at 04:23 PM. Reason: Bad Link
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  3. #3
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    13,992
    Distro
    Ubuntu Budgie Development Release

    Re: Firewall prevents connection to Synology NAS

    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  4. #4
    Join Date
    Oct 2010
    Beans
    20
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Firewall prevents connection to Synology NAS

    Thanks, Frog Hair! Using examples from the link you gave me, I entered the following command:

    Sudo ufw allow from x (where x is the IP addr of my Synology NAS)

    The Connect to Server now works!!!!

  5. #5
    Join Date
    Jun 2010
    Location
    asoko
    Beans
    834
    Distro
    Ubuntu

    Re: Firewall prevents connection to Synology NAS

    glad it worked out. looks like you were blocking access to samba. I have a very similar synology, and didn't have to do anything to make it work, but i had already installed samba on the boxes that were connecting so the samba install probably had already opened the ports. samba's data stream is udp based so makes sense that the allow would have to be bidirectional.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •