tunnel cifs share with other port than 139
Ernst Blaauw <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
Hi, As my home computer (Ubuntu 9.04) has a Samba server enabled, I cannot use the port 139 and 445 to tunnel a cifs share to my Network Media Tank running DropBear. Therefore, I tried the following: ssh -f -N -L 2139:localhost:139 -L 2445:localhost:445 [email protected] /home/user/.ssh/nmt/id_rsa_root.openssh -p 2022 and then: smbmount //localhost/share /home/user/nmt -o port=2139,username=nmt,password=1234,ip=127.0.0.1 After this, I receive the error: retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Without using a tunnel it works normally, but that's not safe over internet. Can someone help me to tunnel cifs over a different port range than the standard ports 139 and 445? Thanks! Ernst _______________________________________________ linux-cifs-client mailing list [email protected] https://lists.samba.org/mailman/listinfo/linux-cifs-client