Results 1 to 8 of 8

Thread: VPN Server On Ubuntu Server

  1. #1
    Join Date
    Mar 2010
    Beans
    6

    VPN Server On Ubuntu Server

    Hi to all, i have one big problem i buy vps from santrex.net and wanna convert this vps to vpn server so that i can from my home pc have ip adress of vps and access to sites like hulu, problem is that i cant connect from my home pc to server i get error 806 i set my server like this:

    first i rebuild server from centos to ubuntu 9.04 then i login to server like root with ssh and enter this commands
    Code:
    apt-get update
    Code:
    apt-get install pptpd
    then i use command
    Code:
    vi /etc/pptpd.conf
    to edit file
    Code:
    localip "server ip"
    remoteip 192.168.1.0-5
    then i edit file chap-secrets with command
    Code:
    vi /etc/ppp/chap-secrets
    and add line like this
    Code:
    test pptpd 12345 *
    which meend that user name is test protocol is pptpd password is 12345 add * meens that all ip in defined range is allow
    after that i open file sysctl.conf with command
    Code:
    vi /etc/sysctl.conf
    and uncommand net.ipv4.ip_forward=1
    reboot system and try to connect on vpn from windows client but i get error 806

  2. #2
    Join Date
    Mar 2010
    Beans
    6

    Re: VPN Server On Ubuntu Server

    anyone?

  3. #3
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: VPN Server On Ubuntu Server

    Install sshd on the server and then configure a ssh sox proxy on your home machine. Then simply tell Firefox to connect to the socks proxy on localhost.

  4. #4
    Join Date
    Mar 2010
    Beans
    6

    Re: VPN Server On Ubuntu Server

    thanks for reply but this is not working for me, i meen i was able to make all to work but speed is low and hulu dont work

  5. #5
    Join Date
    Dec 2007
    Beans
    24

    Re: VPN Server On Ubuntu Server

    You can also use Apache as a proxy
    http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

    So are you trying to circumvent a firewall to watch TV at work?

  6. #6
    Join Date
    Mar 2010
    Beans
    6

    Re: VPN Server On Ubuntu Server

    no i'm simply outside us and wanna wach hulu

  7. #7
    Join Date
    May 2007
    Beans
    4

    Re: VPN Server On Ubuntu Server

    Maybe somebody will help.
    I've setted up the pptpd same as you've described, but it accepts connections from vista/xp/se7en.

    But faced another problem:

    I use Dir-655 as router, it's ip is 192.168.1.1
    Ubuntu Server ip is 192.168.1.4
    VPN port and GRE forwarder to this ip from WAN.

    PPTPD accepts incoming connection, user is authenticated, all is fine, except... internet.
    Connected user can't go to any page, but ping and tracert works fine all over the world.

    Any ideas?

    ip_forward is enabled.

  8. #8
    Join Date
    Mar 2010
    Beans
    6

    Re: VPN Server On Ubuntu Server

    ok guys after several days i manage to install squid proxy but still hulu dont work abc.com and others work but hulu not

Bookmarks

Posting Permissions

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