Re: PPTP and VPN connection not compatible?
- From: "Geoffrey S. Mendelson" <gsm@xxxxxxxxxxxxx>
- Date: Mon, 13 Jul 2009 18:04:03 +0000 (UTC)
Not wrote:
ssh -o "ConnectTimeout 30" -o "ConnectionAttempts 6"
-o "ServerAliveInterval 5" -o "ServerAliveCountMax 3"
-L 5999:ipaddressofserver:5900 -f ipaddressofserver
sleep 14400
The server is Mac B in the example above and the client is Mac A.
Your example uses 2 "servers". One is supposed to be the client?
No, the first one says forward local port 5999 to port 5900 of the system
at the address in the middle, the second is the address of the computer
you want to run ssh on.
In most cases, they would be the same.
Here's an example I found:
http://homepage.mac.com/kelleherk/iblog/C755751163/E20060918221834/index.html
Note that he redirects local port 5900 to the remote's port 5900. The
disadvantage to doing that is then you can't have VNC enabled on your
computer as the ports conflict.
I prefer Jolly's fast VNC,
http://www.jinx.de/JollysFastVNC.html
He says it's an alpha product, I have not had a problem with it, and he
updates it often.
The whole point of doing this is that you no longer need PPTP, or any other
tunneling protocol. Note that this method is not specific to VNC, it will work
with anything. I use it with POP3, SMTPAUTH (receiving and sending email) and
SOCKS5 (I use it as an http proxy).
If your sysadmin is familar with ssh, they can set it up to use encrypted key
handshake instead of password authorization to make the remote Mac hard to
crack.
Geoff.
--
Geoffrey S. Mendelson, Jerusalem, Israel gsm@xxxxxxxxxxxxx N3OWJ/4X1GM
.
- Follow-Ups:
- References:
- PPTP and VPN connection not compatible?
- From: Not
- Re: PPTP and VPN connection not compatible?
- From: Geoffrey S. Mendelson
- Re: PPTP and VPN connection not compatible?
- From: Not
- PPTP and VPN connection not compatible?
- Prev by Date: Re: iWork vs. Microsoft Office
- Next by Date: Re: iWork vs. Microsoft Office
- Previous by thread: Re: PPTP and VPN connection not compatible?
- Next by thread: Re: PPTP and VPN connection not compatible?
- Index(es):
Relevant Pages
|