Date: 20 Sep 2003 15:43:43 +0200 From: sebastian ssmoller <sebastian.ssmoller@gmx.net> To: freebsd-questions@freebsd.org Subject: Re: Samba over SSH Message-ID: <1064065423.749.21.camel@tyrael.linnet> In-Reply-To: <200309201049.h8KAnJYM003612@mauibuilt.com> References: <200309201049.h8KAnJYM003612@mauibuilt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I am using FreeBSD 4.8 and Samba 2.2.8 as the server, I would like to use any > windows operating system for the client side, but probably XP. > (I want to map the samba share to the windows box) > so one idea could be to start three ssh tunnels from client side. which command line u may wonna do something like this: $ ssh -L 137:localhost:137 -N -f user@sambaserver.urdomain.org $ ssh -L 138:localhost:138 -N -f user@sambaserver.urdomain.org $ ssh -L 139:localhost:139 -N -f user@sambaserver.urdomain.org (putty should be able to do something similar. but i guess u will need some scripting so that these ssh commands will be executed on startup of the client systems or at least before the shares will be mounted of course.) now u should be able to connect ur clients to any share on server side with "\\localhost\share-name" i am not familiar with VPN. possibly its a better solution (?) seb > Thanks for your Help > > Richard Puga > puga@mauibuilt.com > > > > On Sat, 2003-09-20 at 08:25, FreeBSD MAIL wrote: > > > I want to use PuTTY and ssh to port forward and map a samba share across the > > > internet. From what I have read on the net it almost seems possable. > > > > i guess u have to set up ssh port forwarding for the ports 137,138 and > > 139. > > > > which box shall provide the share (windows, fbsd, linux...) ? what kind > > of OS is used on the client boxes ? > > > > seb > > > > > > > > Does anyone know how this can be done? If it cant I guess I will have to use > > > some VPN thing.. > > > > > > Thanks in advance > > > > > > Richard Puga > > > puga@mauibuilt.com > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064065423.749.21.camel>