Re: SOCKS VPN?



I have a openssh running as a socks server (ssh -D) on my Windows PC at
work. The SSH server I connect to is running at home. Is there any way
to use this tunnel as a full fledged VPN? I.E. be able to map a drive to
a directory on the remote machine or open files as if they were local?

SOCKS over SSH is the poor man's VPN. It will tunnel TCP and (in SOCKS v5)
UDP, but not ICMP. Add a socksifying wrapper like sockscap, and you have a
reasonable VPN.

You can, in principle, mount remote Windows shares by tunnelling port
139/tcp from the remote host to your local host over SSH. I tried for a
while but never got it to work. Also, if you do that then you'll have to
disable the file sharing server on the local host, in order to free up port
139.

Supposing that you do manage to mount a remote Windows share over your VPN,
you might find that it's unacceptably slow. The reason is that every time
you read or write a file, the whole file has to be transferred over the VPN.
A more efficient approach is to work on your files locally, then synchronize
them as needed to the remote server. This is what Unison does:
http://www.cis.upenn.edu/~bcpierce/unison/. It will tunnel over ssh, and
only copies the changed parts of files over the network so it's bandwidth
efficient. I've been using this approach for a few years now and it works
very well. "Work locally, synchronize globally."

Good luck,
Andrew.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"
.



Relevant Pages

  • Re: IPSec VPN into XP Pro
    ... This page has more information concerning the XP VPN... ... As far as SSH is concerned, I just think its a whole lot easier for home users like myself to setup ... a few consumer grade routers and the problems encountered getting a PPTP tunnel through them... ... > tunnel and set up secure redirections via command line. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: A question about Checkpoint firewall and Telnet over VPN
    ... I have been trying different options to resolve an issue with a remote ... I have the tunnel up and working. ... Since I am using Shiva VPN devices, I have tried using their Shiva ... VPN connection via an ADSL connection that connected to the company LAN ...
    (comp.security.firewalls)
  • Re: A question about Checkpoint firewall and Telnet over VPN
    ... I have been trying different options to resolve an issue with a remote ... I have the tunnel up and working. ... Since I am using Shiva VPN devices, I have tried using their Shiva ... The only problem is with the telnet session from that remote site ...
    (comp.security.firewalls)
  • Connecting Remote Site and ISA
    ... I'd like to get some advise on setting up a 24 hour VPN ... Linux server to access the databases for item maintenance. ... We currently have the need to connect a remote office to ... VPN tunnel, since the workstation will be getting DHCP ...
    (microsoft.public.backoffice.smallbiz2000)
  • A question about Checkpoint firewall and Telnet over VPN
    ... I have been trying different options to resolve an issue with a remote ... I have the tunnel up and working. ... Since I am using Shiva VPN devices, I have tried using their Shiva ... The only problem is with the telnet session from that remote site ...
    (comp.security.firewalls)

Loading