Reply To: Can’t connect via SSH tunnel

#10857
greenleaf108
Participant

I have modified this a bit so that the localhost port is 9999. So my new configuration is as follows. Since I couldn’t ever get the /etc/avahi/services/mt-daap.service file working correctly I put this in my Gnome startup session commands:

avahi-publish -s -v -H gecko.local “sluggo” _daap._tcp. 9999

Then I fire up a tunnel to the slug:

ssh -g -L 9999:localhost:3689 sluggo

This works ok now, but my next question is, how do I tell Avahi not to advertise this daap share to the whole network? What if I just want to keep it on my local computer?