Results 1 to 28 of 28
  1. #1

    Hosting VPN services on a VPS

    Hello All,

    this is my first post here on WHT and I welcome all feedback, help suggestions etc.

    VPN Service
    I'm looking to setup a VPN server (US IP address) and have multiple users connect to the server to stream content (hulu, netflix, youtube), surf the web etc.

    User Base
    Initially it will be a relative small user base (ie. just friends etc) lets say 10 using it 24/7. If there is enough interest, i would like to scale to support more users 50 - 100 or so.

    Server Specs
    As this is my first time owning / running a server i'm not too sure what kind of specs i need. From my research on lowendbox it seems like most vps offer about:


    * 512 MB
    * 10GB HD (seems like more than enough for a vpn server)
    * 1TB BW (this will be what kills me.... as traffic in and out is counted)
    * 10 - 100 mbps (shared across X nodes)


    ranging in price from 3 - 10$ / month

    Budget
    I don't want to go over 10$ (6 - 7$ would be perfect) a month for now and i plan on considering a dedicated server later on. First i want to see this running and ppl on it before i invest more money.


    I need help deciding the following:


    * VPS Hosting Provider - (i'm guessing speed and bandwidth will be the biggest concerns)
    * Operating System - (leaning towards ubuntu server 10.10 64bit because of large community and it's the latest version)
    * VPN Software - (So far i only know of OpenVPN)
    * Other considerations - anything else i should be considering

    My objective is not to oversaturate the VPS but to provide rock solid vpn performance for users. I'm on a 10mbit connection myself and would love to have something that would allow a 3- 5 users to be on watching hulu / netflix simultaneously without experiencing hiccups. As i said before if interest is there ... i would scale and invite more users but quality of service is paramount.

    Any advice would be appreciated!
    Cheers,
    SR.

  2. #2
    Join Date
    Mar 2009
    Posts
    3,807
    - why 64bit if you don't have >3.5g ram
    - openvpn
    - hulu will blacklist you for having like 10 viewers on one ip, won't they

  3. #3
    Quote Originally Posted by quantumphysics View Post
    - why 64bit if you don't have >3.5g ram
    - openvpn
    - hulu will blacklist you for having like 10 viewers on one ip, won't they
    64 seems like the best approach if you plan on scaling later on. it much easier to migrate than to re-install a 64 bit os because you need more ram.

    will they? i have no idea but a good question none the less.
    How do other vpn companies do this?

  4. #4
    Where are your users from? This should be the first question when it comes to VPN.

  5. #5
    Quote Originally Posted by windywinter View Post
    Where are your users from? This should be the first question when it comes to VPN.
    North america mostly around the NY area within a 500 mile radius

  6. #6
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,449
    Yeah, right, 1TB of transfer for 3$. Good luck with that...

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

  7. #7
    64bit uses significantly more RAM on a small VPS (do to larger pointer and data sizes), so unless you have more than 2GB of RAM, running 64bit will just slow you down. When you're running at least 3GB of RAM is when you should consider switching to 64bit.

  8. #8
    Quote Originally Posted by gplhost View Post
    Yeah, right, 1TB of transfer for 3$. Good luck with that...
    I second that
    PremiumReseller.com Hyper-V SSD VPS USA London Singapore
    Reseller Hosting Cpanel PURE SSD CloudLinux Softaculous
    Windows Reseller Asp.NET 4.5 MSSQL 2012 SmarterMail Enterprise

  9. #9
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,449
    Quote Originally Posted by Question Everything View Post
    64bit uses significantly more RAM on a small VPS (do to larger pointer and data sizes), so unless you have more than 2GB of RAM, running 64bit will just slow you down. When you're running at least 3GB of RAM is when you should consider switching to 64bit.
    I don't agree with that. In 64 bits, you have twice the number of registers, no memory pages, and all packages are compiled for the modern instruction set instead of old 486. So if you don't use too much RAM, 64 bits is faster.

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

  10. #10
    Fair enough.... the 3$ is a stretch.

    OS - > Still leaning towards 64bit..

    Any suggestions in terms of hosting companies?

  11. #11
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    4,845
    Quote Originally Posted by gplhost View Post
    Yeah, right, 1TB of transfer for 3$. Good luck with that...

    Thomas
    More than doable

    Francisco

  12. #12
    Quote Originally Posted by DeltaAnime View Post
    More than doable

    Francisco
    Where and how much?

  13. #13
    Quote Originally Posted by subRyder View Post
    Where and how much?
    you can get
    768/1536 MB of RAM
    50GB HDD
    2 TB BW/mo
    100 Mbps

    for $8 openvz vps on US or germany

  14. #14
    Quote Originally Posted by venantius View Post
    you can get
    768/1536 MB of RAM
    50GB HDD
    2 TB BW/mo
    100 Mbps

    for $8 openvz vps on US or germany

    That might do the trick. Got a company link / speed test url ??

  15. #15
    Make sure you do not use a VPS in Germany for Openvpn (VPN). The laws in Germany are the worst ever and the dead of your service.

  16. #16
    Join Date
    Mar 2009
    Posts
    3,807
    Quote Originally Posted by warg View Post
    Make sure you do not use a VPS in Germany for Openvpn (VPN). The laws in Germany are the worst ever and the dead of your service.
    same could be said about the US...

  17. #17
    You do not have a second chance in Germany. They will shutdown you and sue you for your TOS/Privacy Terms (because they are not complete, wrong etc) and you are fully responsible for anything - nobody cares if you did it or a customer. I never heard of a such happening in the US.

  18. #18
    Quote Originally Posted by warg View Post
    Make sure you do not use a VPS in Germany for Openvpn (VPN). The laws in Germany are the worst ever and the dead of your service.
    Thanks for the tip. I'll be focusing on north america only for now, so the prospective provider will have to be a US server in order to have the most flexibility for stream media.

  19. #19
    Quote Originally Posted by warg View Post
    You do not have a second chance in Germany. They will shutdown you and sue you for your TOS/Privacy Terms (because they are not complete, wrong etc) and you are fully responsible for anything - nobody cares if you did it or a customer. I never heard of a such happening in the US.
    Wow. That's pretty harsh. NO German servers for me EVER! This bring a good point thought. I will need to get my hands on some rock solid TOS/Privacy documents to display to users. If anyone has any suggestions or samples please PM me.

  20. #20
    Quote Originally Posted by gplhost View Post
    Yeah, right, 1TB of transfer for 3$. Good luck with that...

    Thomas
    check out 2host.com ...... Guess i just got lucky

  21. #21
    Quote Originally Posted by subRyder View Post
    That might do the trick. Got a company link / speed test url ??
    what do you mean about the tricks?

    This is my VPS on germany, has been running for several months.
    I bought it through my friends. All this time this time I used it to Rapidleech and torrent. And I ever asked, no problems if used for vpn.

    Code:
    Welcome to Ubuntu!
     * Documentation:  https://help.ubuntu.com/
    You have new mail.
    Last login: Wed May 11 19:49:22 2011 from 125.160.106.230
    [email protected]:~# wget http://cachefly.cachefly.net/100mb.test
    --2011-05-11 20:20:49--  http://cachefly.cachefly.net/100mb.test
    Resolving cachefly.cachefly.net... 140.99.93.175, 140.99.93.175
    Connecting to cachefly.cachefly.net|140.99.93.175|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 104857600 (100M) [application/octet-stream]
    Saving to: `100mb.test.3'
    
    100%[======================================>] 104,857,600 22.6M/s   in 5.7s
    
    2011-05-11 20:20:55 (17.7 MB/s) - `100mb.test.3' saved [104857600/104857600]
    
    [email protected]:~#
    spec:

    4 Core CPU Access
    768/1536 MB RAM
    Storage 90 GB
    2TB/month
    Network 100 mbps

  22. #22
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,449
    Well, a download from cachefly which you show like this doesn't in fact show anything. Cachefly is a CDN, so they well might have a node on the same data center. When showing a download like that, you should as well show a traceroute (and best would be to do it with MTR). Please do...

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

  23. #23
    Hmm, maybe cachefly not accurate to test network speed...

    but I am quite satisfied with the vps that I bought, I also try to test directlink from microsoft site. I don't know if microsoft using CDN as well as cachefly, but I'm sure if my vps node different from the node that owned by microsoft.

    From Micro$oft
    Code:
    Welcome to Ubuntu!
     * Documentation:  https://help.ubuntu.com/
    You have new mail.
    Last login: Wed May 11 20:15:33 2011 from 125.160.106.230
    [email protected]:~# wget http://xpsp.dlservice.microsoft.com/download/d/3/0/d30e32d8-418a-469d-b600-f32ce3edf42d/WindowsXP-KB936929-SP3-x86-ENU.exe
    --2011-05-12 03:07:38--  http://xpsp.dlservice.microsoft.com/download/d/3/0/d30e32d8-418a-469d-b600-f32ce3edf42d/WindowsXP-KB936929-SP3-x86-ENU.exe
    Resolving xpsp.dlservice.microsoft.com... 92.123.69.27, 92.123.69.25
    Connecting to xpsp.dlservice.microsoft.com|92.123.69.27|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 331805736 (316M) [application/octet-stream]
    Saving to: `WindowsXP-KB936929-SP3-x86-ENU.exe'
    
    100%[======================================>] 331,805,736 16.6M/s   in 22s
    
    2011-05-12 03:08:01 (14.2 MB/s) - `WindowsXP-KB936929-SP3-x86-ENU.exe' saved [331805736/331805736]
    
    [email protected]:~#
    Test from my country, where Internet is very slow, and quite difficult to get over 5MB / s from the U.S. or Germany, you can try it yourself
    Code:
    [email protected]:~# wget http://ubuntu.pesat.net.id/releases//natty/ubuntu-11.04-desktop-i386.iso
    --2011-05-12 03:22:37--  http://ubuntu.pesat.net.id/releases//natty/ubuntu-11.04-desktop-i386.iso
    Resolving ubuntu.pesat.net.id... 202.182.182.183
    Connecting to ubuntu.pesat.net.id|202.182.182.183|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 718583808 (685M) [application/octet-stream]
    Saving to: `ubuntu-11.04-desktop-i386.iso'
    
    100%[======================================>] 718,583,808 6.34M/s   in 2m 27s
    
    2011-05-12 03:25:05 (4.66 MB/s) - `ubuntu-11.04-desktop-i386.iso' saved [718583808/718583808]
    good enough for $ 8 I think

    --edit--
    Oops sorry, I think micro$oft using CDN too.. (akamai), I'm update test with server Indonesia, my country...
    Last edited by venantius; 05-11-2011 at 07:26 PM.

  24. #24
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,449
    I say it again: don't provide just a wget, also provide the traceroute.

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

  25. #25
    ok, like this?

    Code:
    [email protected]:~# tracert cachefly.cachefly.net
    -bash: tracert: command not found
    [email protected]:~# traceroute cachefly.cachefly.net
    traceroute to cachefly.cachefly.net (140.99.93.175), 30 hops max, 60 byte packets
     1  static.***.91.4.46.clients.your-server.de (46.4.91.***)  0.053 ms  0.020 ms  0.020 ms
     2  213-239-224-193.clients.your-server.de (213.239.224.193)  0.169 ms 213-239-224-129.clients.your-server.de (213.239.224.129)  0.144 ms  0.178 ms
     3  hos-bb1.juniper1.ffm.hetzner.de (213.239.240.224)  4.787 ms  4.810 ms  4.797 ms
     4  r1fra1.core.init7.net (77.109.135.17)  12.144 ms  12.190 ms  12.240 ms
     5  xe-7-2-0.fra20.ip4.tinet.net (77.67.76.237)  4.836 ms  4.871 ms  4.851 ms
     6  xe-0-0-0.fra23.ip4.tinet.net (89.149.186.38)  30.729 ms xe-1-0-0.fra23.ip4.tinet.net (89.149.186.182)  4.971 ms xe-3-0-0.fra23.ip4.tinet.net (89.149.184.78)  4.950 ms
     7  vip1.fra1.cachefly.net (140.99.93.175)  5.530 ms  5.523 ms  5.496 ms
    [email protected]:~#
    Code:
    [email protected]:~# traceroute ubuntu.pesat.net.id
    traceroute to ubuntu.pesat.net.id (202.182.182.183), 30 hops max, 60 byte packets
     1  static.***.91.4.46.clients.your-server.de (46.4.91.***)  0.061 ms  0.028 ms  0.024 ms
     2  213-239-224-129.clients.your-server.de (213.239.224.129)  0.146 ms 213-239-224-225.clients.your-server.de (213.239.224.225)  0.127 ms 213-239-224-129.clients.your-server.de (213.239.224.129)  0.138 ms
     3  hos-bb1.juniper4.ffm.hetzner.de (213.239.240.230)  4.827 ms  4.830 ms  4.805 ms
     4  amsix2-hetzner.aixit.net (83.141.1.57)  11.848 ms  11.901 ms  11.933 ms
     5  TenGE13-2.br02.ams01.pccwbtn.net (195.69.145.37)  20.208 ms  20.564 ms  20.367 ms
     6  bharti.pos11-0.cr02.sin02.pccwbtn.net (63.218.165.214)  295.490 ms  295.559 ms  295.557 ms
     7  * * *
     8  AES-Static-026.1.22.125.airtel.in (125.22.1.26)  370.133 ms  370.146 ms  370.122 ms
     9  IP-112-238.MCS.napinfo.net (119.110.112.238)  393.348 ms  393.401 ms  393.450 ms
    10  IP-121-70.MCS.napinfo.net (119.110.121.70)  395.253 ms  397.067 ms  397.048 ms
    11  116.58.193.74 (116.58.193.74)  387.937 ms  385.930 ms  385.847 ms
    12  ro-core-mk.eoip.pesat.net.id (202.95.128.25)  366.196 ms  366.180 ms  366.209 ms
    13  fw-nat-mgk.pesat.net.id (202.95.128.3)  396.590 ms  396.292 ms  396.907 ms
    14  * * *
    15  * * *
    ....>>>>
    30  * * *
    [email protected]:~#

  26. #26
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,449
    Much much much better. Now I can see that your service provider is only using Hetzner, which is well known. Sure, Hetzner has a quite good network, but now you can question yourself: how big is your service provider? Do they have one unique server they pay 50 eur/month to Hetzner?

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

  27. #27
    Join Date
    Nov 2005
    Location
    Czech Republic / Thailand
    Posts
    191
    Quote Originally Posted by venantius View Post
    you can get
    768/1536 MB of RAM
    50GB HDD
    2 TB BW/mo
    100 Mbps

    for $8 openvz vps on US or germany
    Who is your VPS provider?
    Flash Live & VoD Streaming solutions 4 All.
    RTMP, HTML5, RTSP

  28. #28
    Quote Originally Posted by beruska View Post
    Who is your VPS provider?
    I get it from my friend, he is one of the vps provider in Indonesia. Not the big company, but I don't care, what matters is performance and price is comparable, also have good uptime.

Similar Threads

  1. Replies: 0
    Last Post: 02-24-2011, 03:30 PM
  2. best windows VPS for VPN services
    By ahmadian in forum VPS Hosting
    Replies: 3
    Last Post: 02-04-2011, 10:43 AM
  3. [HK] Rental VPN!! Secure VPN services // Unlimited Usage
    By YUPAPA in forum Other Hosting Offers
    Replies: 0
    Last Post: 02-17-2010, 12:46 PM
  4. Replies: 0
    Last Post: 11-15-2009, 05:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •