Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 20 posts ] 
Author Message
 Post subject: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 10:52 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
A few years ago I used to have to access a place I did some work for via VPN. Their router wasn't anything special but allowed you to simply and easily create a VPN account by just specifying a username and password. You could then simply VPN to to the router and become part of the network.

Although my own router claims to support VPN in reality it looks like it does little more than act as a pass through. You can create VPN's but can't specify logins or passwords. So presumably it just acts as a redirector to another box that deals with VPN.

Currently I have one box that I sometimes enable VNC on to remotely access it. I do this via NAT and I understand that this is terribly insecure. I am also going to need to access the Mac from time to time and I'm not happy just leaving a VNC connection open with no more security than a password.

So do I ditch the router for one that can support VPN? Or do I start using this SSH thing people keep on talking about.

I just need a secure and reliable way to login into the network. Anyone have any experience?

Cheers.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 11:44 

Joined: 30th Mar, 2008
Posts: 8679
Depends on exactly what you want it to do really. If a command line will suffice, go ssh.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 12:00 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
Dudley wrote:
Depends on exactly what you want it to do really. If a command line will suffice, go ssh.


I need full VNC.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 12:16 

Joined: 30th Mar, 2008
Posts: 8679
Then don't go ssh.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 12:47 
Excellent Member

Joined: 30th Mar, 2008
Posts: 8
If you can set up so you can SSH to your mac via the internet you can use that connection to do something called port forwarding which will allow you to VNC into your mac behind the router.

SSH by default is no more secure than having VNC accessible via user name / password as that's SSH's default authentication too.

Unlike VNC you can enable RSA / DSA authentication with SSH which is a lot more secure.

So what I'd advise is get SSH working with either RSA or DSA keys then read up on port forwarding with SSH and forward VNC's port to your local machine.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 12:51 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
http://www.logmein.com any help?

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 12:54 

Joined: 30th Mar, 2008
Posts: 8679
Logmein.com is excellent but is merely a universal VNC or Remote Desktop rather than true VPN. It might be enough.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 13:06 
User avatar
lazy eye patch

Joined: 27th Mar, 2008
Posts: 3955
Location: Telford, UK
VNC over SSH

Your client/servers may support this anyway. I've used it before, but not set it up myself, sorry.

edit: oops, that should be VNC over, not VPN over.

_________________
Photographs


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 15:11 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
I guess the best way might just be to ditch the router and get something that can properly support VPN users in it's own hardware without any other hardware needed. Presumably that means getting a business class router as opposed to the domestic one that I have at the moment.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 19:18 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
A VPN-serving router is going to cost mucho dineros. You can do this for free, and CUS is right, VNC over SSH is probably the easiest way. What OS is on this box you are trying to connect to, what OS are you using to connect from, and what are you trying to achieve once you are logged in there? I can walk you through it.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sat Jun 14, 2008 20:03 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
richardgaywood wrote:
A VPN-serving router is going to cost mucho dineros. You can do this for free, and CUS is right, VNC over SSH is probably the easiest way. What OS is on this box you are trying to connect to, what OS are you using to connect from, and what are you trying to achieve once you are logged in there? I can walk you through it.


Yeah. But when the machine goes tits up you get screwed. I prefer hardware solutions to software solutions as when the software goes down you then have to do a 80 mile round trip. + I may need to access more than 1 box (and it could really get messy once you start to consider the Mac may be running virtual machines).

There's no way the people who had the router I used to access paid much money as the company had no money (they lost money hand over fist each and every month). I seem to remember the brand was a Draytek.

I've just spent a couple of hours researching and this looks like the modern equivelent:

http://www.draytek.co.uk/products/vigor2820.html

Retails for about £120 which would pay for itself in petrol within a month frankly.

I'm still trying to work out if it can do what the one I used to do could. The one I used to use simply had an admin page which allowed you to specify a username and a password. You could then VPN in and the whole shebang was remarkably solid.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sun Jun 15, 2008 16:14 
User avatar
Sitting balls-back folder

Joined: 30th Mar, 2008
Posts: 10138
Yeah, as CUS said - VNC over SSH. With pre-shared keys, if it's not too much of a faff.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Sun Jun 15, 2008 23:20 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
chinnyhill10 wrote:
I've just spent a couple of hours researching and this looks like the modern equivelent http://www.draytek.co.uk/products/vigor2820.html
I've used a few Draytek routers -- they are very good but I'd be surprised if that is an actual VPN endpoint. The spec sheet only mentions "VPN dial in/out support" and then doesn't describe anywhere what the protocol is or anything and that seems odd to me. I am prepared to be proven wrong of course.

Can you describe the setup a bit more, with regards to type of connection, computer OS, etc?


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Mon Jun 16, 2008 0:18 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
richardgaywood wrote:
chinnyhill10 wrote:
I've just spent a couple of hours researching and this looks like the modern equivelent http://www.draytek.co.uk/products/vigor2820.html
I've used a few Draytek routers -- they are very good but I'd be surprised if that is an actual VPN endpoint. The spec sheet only mentions "VPN dial in/out support" and then doesn't describe anywhere what the protocol is or anything and that seems odd to me. I am prepared to be proven wrong of course.

Can you describe the setup a bit more, with regards to type of connection, computer OS, etc?


The connection is needed into a Mac, a PC and a Linux box at the moment. From a Windows box as the client but perhaps also a Mac in the future.

The router we used to use did indeed have a VPN endpoint. I'm going to try and find out the model.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Tue Jun 17, 2008 10:43 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
Just had a word with my mate who used to manage the VPN I used to login to. It was a Draytek 2600, and he now uses Draytek 2800's and Draytek 2820's to manage VPN's across a whole load of sites.

And he confirms they manage the VPN connection for you. He also knows another company who also use the Drayteks.

So I guess the Draytek is the proper hardware answer.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Tue Jun 17, 2008 10:51 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
chinnyhill10 wrote:
So I guess the Draytek is the proper hardware answer.
Fair enough then, I stand corrected; that's pretty cheap for what it is. In general I've been impressed with the Draytek models I've used, the firm I used to work at had an ISP sideline for SMBs and we used Draytek routers on the client's side exclusively.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Tue Jun 17, 2008 11:05 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
richardgaywood wrote:
chinnyhill10 wrote:
So I guess the Draytek is the proper hardware answer.
Fair enough then, I stand corrected; that's pretty cheap for what it is. In general I've been impressed with the Draytek models I've used, the firm I used to work at had an ISP sideline for SMBs and we used Draytek routers on the client's side exclusively.


My mate said that when he started to purchase the Drayteks, the only other routers that had the same features were the Cisco's. There was no way they could afford them though.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Tue Jun 17, 2008 11:08 
Excellent Member

Joined: 30th Mar, 2008
Posts: 112
I have a Draytek 2800. It is a fantastic router, and it does indeed have a whole bank of options for setting up VPN stuff. However, I have thus far failed to get it working, so if you have any luck let me know how you did it. I'm trying to get VPN access for the same reason - controlling my home Mac via VNC.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Tue Jun 17, 2008 11:14 
User avatar
Chinny chin chin

Joined: 30th Mar, 2008
Posts: 15695
mrbogus wrote:
I have a Draytek 2800. It is a fantastic router, and it does indeed have a whole bank of options for setting up VPN stuff. However, I have thus far failed to get it working, so if you have any luck let me know how you did it. I'm trying to get VPN access for the same reason - controlling my home Mac via VNC.


Presumably you have a decent VNC server? The one built into OSX doesn't support screen compression so trying to use it across the net is rather like watching a loading screen draw itself on my CPC.

I think the server mentioned to me on the Apple forums was called "Vine". Costs about 15 quid but supports screen compression so is far far faster. At the moment it's actually quicker to VNC into the PC and then VNC that into the Mac as the Mac and PC are on the same network, but the PC will compress the image.


Top
 Profile  
 
 Post subject: Re: Remote Access - SSH or VPN
PostPosted: Tue Jun 17, 2008 13:11 
Excellent Member

Joined: 30th Mar, 2008
Posts: 112
chinnyhill10 wrote:
Presumably you have a decent VNC server? The one built into OSX doesn't support screen compression so trying to use it across the net is rather like watching a loading screen draw itself on my CPC.


Had no success connecting to the network, so I didn't get as far as accessing VNC. However, I think part of the problem was that I was using my iPhone as the VPN client. I think I should probably get the connection working on a normal client with Draytek's Smart VPN thingy before trying to set up my phone - I can't tell at the moment if the problem is the router setup or the phone setup.

If I can get it working, though, I'll be able to VNC into my Mac using my phone from anywhere there's an open WiFi network.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 20 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Columbo, Majestic-12 [Bot], THE FREEMASONS and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC. RIP, Dimmers.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.