2005-07-27

Enabling Samba access through the firewall

This isn't going to make any sense to the vast majority of you, and the others will point and laugh at something that can probably be looked up elsewhere. But this is going to come in handy in a few weeks, and I don't want to have to figure it out again.

At home:

    ssh -R 9939:localhost:139 server_alias

On the laptop:

    sudo ssh -L 139:localhost:9939 username_on_server@fully.qualified.server.name

Then connect in the Finder (via Go|Connect to Server...) using:

    smb://localhost/sharename

0 comments: