Re: SOCKS VPN?
- From: Andrew Schulman <andrex@xxxxxxxxxxxx>
- Date: Tue, 09 May 2006 15:19:40 GMT
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"
.
- Follow-Ups:
- Re: SOCKS VPN?
- From: Jacob Nevins
- Re: SOCKS VPN?
- References:
- SOCKS VPN?
- From: Chuck
- SOCKS VPN?
- Prev by Date: SOCKS VPN?
- Next by Date: Xfer the saved sessions to another computer
- Previous by thread: SOCKS VPN?
- Next by thread: Re: SOCKS VPN?
- Index(es):
Relevant Pages
|
Loading