Re: Samba over SSH

From: Raphaël Marmier (raphael_at_computer-rental.ch)
Date: 09/21/03

  • Next message: Chris Dillon: "Re: write behind caching"
    Date: Sun, 21 Sep 2003 05:36:52 +0200
    To: Brian Dessent <brian@dessent.net>
    
    

    Unless you _must_ use samba, try using nfs with tcp connection through
    your vpn. It is much faster and still reliable.

    mount -t nfs -o -T host:/the/path/ /mount/point

    will use tcp for transport, thus ensuring you don't suffer problems
    even in the case of a disconnection of the vpn. Of course, the server
    must supprt nfs over tcp (most bsd do that).

    We use this to connect to a cvs server and it works great.

    Raphaël

    Le Dimanche, 21 sep 2003, à 01:52 Europe/Zurich, Brian Dessent a écrit :

    > FreeBSD MAIL wrote:
    >>
    >> I guess the problem I am having is with PuTTY, I am forcing ssh 2 and
    >> putting
    >> in the ports and addresses for the client and server as best I can, I
    >> have
    >> been able to get VPN to work over pptp, which is cool but I would
    >> prefer using
    >> ssh.
    >>
    >> If you have a copy of putty laying around would you mind trying it?
    >>
    >> Or even teraterm-ssh, I am reluctant to use cygwin and such because
    >> of the
    >> user interface.
    >
    > The problem you are going to have is that windows binds its NetBIOS
    > stuff to local port 139 et. al. so there's no way to forward them with
    > ssh. The only way to do this is to use a second, non-windows machine
    > on
    > your local LAN, and have IT ssh into the remote and then forward 139
    > et.
    > al. After doing that, it will appear to have local shares to the
    > windows box. Alternatively, you could try disabling "File and Printer
    > Sharing" on the windows end and try to get whatever is listening on 139
    > to stop so that ssh can forward that port... I don't know if that's
    > possible or not.
    >
    > The VPN method with PPTP (and mpd on the remote FreeBSD end) is what I
    > ended up doing. I finally got it all working finally, and was quite
    > disappointed with the speed. Samba over a broadband link to a server
    > very far away was verrrrry sloooow. If your link is faster you'd
    > probably have better luck.
    >
    > Brian
    > _______________________________________________
    > 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"


  • Next message: Chris Dillon: "Re: write behind caching"

    Relevant Pages

    • Re: ipfw and nmap
      ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
      (freebsd-questions)
    • Re: VPN Error 720
      ... I think the Zywall is not configured for VPN passthrough. ... TCP Port 1723 on the other endpoint. ... In the system log on the server I get the following message: ...
      (microsoft.public.windows.server.sbs)
    • Problems using VPN through a BT router
      ... I have been trying to do a VPN to an SBS server but without much luck. ... I have opened the ports i think i ... TCP - 443 ...
      (microsoft.public.windows.server.sbs)
    • RE: [fw-wiz] Issues opeing firewall for SSH/SecureFTP?
      ... Whether VPN or SSH is appropriate really depends on the situation. ... needing access to a particular server on your internal network would be better ... routing when the VPN is up (no access to internal network when VPN is working). ...
      (Firewall-Wizards)
    • Re: VPN behind firewall
      ... Besides TCP 1723 you also need to allow IP Protocol 47. ... and a win2k app server acting as RRAS - VPN ... for the conection with the MS VPN server. ...
      (microsoft.public.win2000.networking)