Ubuntu VPN Server
Author
Discussion

dtmpower

Original Poster:

3,972 posts

277 months

Friday 9th May 2008
quotequote all
I would like to setup a VPN server on my Ubuntu box at home... so I can connect to Samba shares/avoid work web proxy etc.

I was looking at both PPTP and OpenVPN - which one is easiest and most reliable - I only need a bridged connection, not concerned with any routing.


SystemParanoia

14,343 posts

230 months

Friday 9th May 2008
quotequote all
are you using another linux box to connect to your home server ?

you could always try the SSHFS option ?

thats what i tend to use when remotely connecting to my home system.

GHW

1,294 posts

253 months

Friday 9th May 2008
quotequote all
In my experience... OpenVPN is easier to set up, but needs software to be installed on the client machines. PPTP is supported out of the box on most pieces of kit.

I use OpenVPN for work stuff and it does the job. I keep meaning to setup PPTP on my colo'd box so I can use it to secure connections when I'm out and about using WiFi hotspots (from my MacBook and my iPod Touch), but I can never be arsed to work my way through the masses of config effort required.

dtmpower

Original Poster:

3,972 posts

277 months

Friday 9th May 2008
quotequote all
SystemParanoia said:
are you using another linux box to connect to your home server ?

you could always try the SSHFS option ?

thats what i tend to use when remotely connecting to my home system.
Want to be able to connect from work windows laptop to home ubuntu 'server' (actually running hardy heron)

buggalugs

9,301 posts

269 months

Friday 9th May 2008
quotequote all
I´ve used both OpenVPN and pptpd to connect to a linux box from a windows box, prefer pptpd now.

OpenVPN seems more powerful, and its neat if you set it up running as a service on the windows client. This way it connects as soon as the machine makes a net connection, and you can tweak the config to do split tunneling (so that internet access doesn´t go via the tunnel).

For my purposes though pptpd is the one at the moment. Its easy enough to set up the server side if you follow one of the howto´s floating around the net, and the client side setup is about three clicks... I´m quite often at a client site and need to pull bits and bobs off our network, so its ideal for this.

Pigeon

18,535 posts

278 months

Friday 9th May 2008
quotequote all
I've found openvpn works a treat for windoze talking to Linux.

dtmpower

Original Poster:

3,972 posts

277 months

Saturday 15th May 2010
quotequote all
Just reviewing my old threads... still never got round to doing this. Currently migrating my desktop to ubuntu so may well try and setup something on the main pc rather than another server.

I guess a vnc server facing the internet is a no no in terms of security.

buggalugs

9,301 posts

269 months

Saturday 15th May 2010
quotequote all
dtmpower said:
I guess a vnc server facing the internet is a no no in terms of security.
Kind of in that it isn't encrypted by default. Personaly I don't think it's a massive risk and use it quite a bit, just moved off the default port. I'm sure other people will have different opinions smile