SMB through SOCKS Tunnel

Discussion in 'macOS' started by owen123, May 11, 2015.

  1. owen123 macrumors newbie

    Joined:
    May 12, 2013
    Location:
    Cambridgeshire, UK
    #1
    Hi,

    So I have setup a ssh tunnel which connects to a linux server at my house, which I connect to from other networks. I have it setup as well to work on a localhost port so that I can enable socks proxy in system preferences and tunnel my internet traffic through my home network.

    I would like to be able to access samba shares that exist at my house through the SSH tunnel. I have been able to find so threads online about this however if I try using:
    Code:
    sudo mount -t smbfs //192.168.2.28/*shareName* /Volumes
    I get the following message 'mount_smbfs: server rejected the connection: Authentication error' despite the info being correct.

    So to summarise, I would like to be able to access SMB shares remotely using a SSH tunnel.

    Thanks in Advance

    Owen
     
  2. DennisBlah macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #2
    Try to mount
    Code:
    smb://username:password@ipaddress/foldername
    If not working try afp or cifs protocol instead of smb, because Apple likes to do samba on their own way instead of how it should #
     

Share This Page