Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Openvpn installation problem in the VPS & Dedicated forum
HI I`ve been trying to install and activate openvpn because i want to use my vps as a gateway to the internet(Means that i want ...

  1. #1
    JPC Member st1905's Avatar
    Join Date
    Jul 2007
    Posts
    34

    Openvpn installation problem

    HI

    I`ve been trying to install and activate openvpn because i want to use my vps as a gateway to the internet(Means that i want to have vps ip while i surf on the net) but when i try to run it i got the following error:

    Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)
    Note: Attempting fallback to kernel 2.2 TUN/TAP interface


    I`ve submitted a ticket about tun/tap device and support has told me that they have installed it on the hardware node last thursday.I think they have not activated it on my vps.

    My other question is how can i configure the openvpn.conf file?


    My vps has main ip 69.73.129.106 my home computer ip is dynamic.

    what is true configuation for this ? I need a sample.

    when i ifconfig there is no TUN/TAP device.

    what configuration do i have to do with client side?

    i`ve succesfully installed openvpn on centos via ssh.

    Thanks in advance.

  2. #2
    JPC Support Smithjp's Avatar
    Join Date
    Jun 2006
    Location
    Planet Earth
    Posts
    166
    If TUN is still not enabled on your VPS, please open a support ticket to get it checked. You can check http://openvpn.net/ for configurations.

  3. #3
    JPC Member st1905's Avatar
    Join Date
    Jul 2007
    Posts
    34
    Thanks to Masood, he has fixed my problem so i can succesfully make a connection from my windows based pc to the linux based vps. Now i have only one problem i want to route all client traffic to vpn but so far i`vent been succeeded.

    Anyone can make some suggestions?

    I`ve added this line to my server config file

    push "redirect-gateway def1"

    Then i wanted to run following to route the traffic

    iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -o eth0 -j MASQUERADE

    There is no eth0 on my vps so i tried with venet0 but it gave me an error.
    Last edited by st1905; 08-01-2007 at 02:05 PM.

  4. #4
    Loyal Client
    Join Date
    Sep 2009
    Posts
    6
    Did you find a solution?

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
  •