38 پاسخ به “نحوه ایجاد سرور VPN در اوبونتو 12.04”

  1. hello, i'm new with OPENVPN and need some help..
    the 4 files that are for client user (ca.crt, client1.crt, client1.key, newvpn.ovpn) you just have to put them on client computer to path /etc/openvpn that right??

    Help me plz

  2. Openvpn must be running on a machine that is not on your local network in order to access blocked sites. Most VPN's set up for this purpose use a server based in other countries.

  3. I have my Ubuntu 12.04 machine and I did everything as mentioned in the video…I am able to reach the stage where it says

    "root@ubuntu:~# /etc/init.d/openvpn start
    * Starting virtual private network daemon(s)…
    * Autostarting VPN 'openvpn"

    I heard previously that openvpn is a effective utility to access blocked websites on Ubuntu machines. So I did whatever is in thev video…my aim is to access blocked websites blocked by cyberoam software….! 🙁

  4. If by your other question I understand your setup correctly, you've set up the VPN server on your home network and then are tunneling to it from other machines on the same network. This will not prove effective for accessing blocked sites because once the traffic leaves the VPN server it is no longer encrypted, and subject to whatever methods of blocking are implemented by your ISP.

  5. After running ifconfig you'll see the adapter name in the first line. like:
    eth0 Link encap:Ethernet HWadd………
    The 10.8.0.0/24 in the iptables command tells the machine forward to the internet the traffic from any ip addresses in that range.
    And yes Your.VPS.IP would be the IP address of the machine running the VPN server.

  6. I am asking about iptables command which is done after echo >1 ……

    I am connected on LAN via Ethernet…so I guess adapter name should be "eth0"…..right? I'm not sure how to see the adapter name with ifconfig command.
    And what is that 10.8.0.0/24 in iptables command…do i also have to keep that..?
    And by "Your.VPS.IP", you mean my private ip address in LAN…right??

  7. Yes that is the contents of the openvpn.conf you saw me copy and paste. The whole config file is available on my site linked to in the description. You can paste copied text into putty with Shift+Insert.

  8. I've edited the file as you did. But the problem was that i was logged as a regular user, and doing all the commands using "sudo". I'm new to linux and i thought that doing a sudo was like running the command as a root, but it doesn't seems to be the case.

    Now i've got openvpn service started, but i still have a problem that i'll have to figure out. I've configured my openvpn client on my computer, and i've setuped the file properly (udp/1194 with proper CRT & KEY files), with my IP

  9. Did you edit the "export EASY_RSA" location in the vars file? Do you have read/write access to that location with the account you're setting up the VPN from?

  10. This is a documented bug fixed by copying pkitool to another location. The following command will copy it to another place where it should work correctly.

    cp pkitool ../

  11. I have tried this a few times to make sure i didn't miss a step or anythin but every time i enter ./easy-rsa/clean-all i get the response; Please source the vars script first (i.e. "source ./vars") make sure you have edited it to reflect your configuration. I tried entering the command source ./vars and then going through it again but got the same response. the only other thing i think could help is that when you do nano /easy-rsa/vars i dont know what you use to save the changes. i hit ctrl o.

  12. Hello
    🙂 Lovely ,, Too Usefull Info
    But I Want To Set Proxy Server With More than 200 Ip
    Is Vpn Good For Me ,, Or I Must Used Squid
    And I Want Asking About ,, Important Point
    Do I must Use 200 + Static Ips For That Or There Is Any Way To Do That
    With Squid Only ???,, I'm New User On Ubuntu 12.04 ,, And I want To learn more
    About It ,, It's So Fun
    Please If You Can Help Me ,,Reply ^_^

  13. This is a documented bug fixed by copying pkitool to another location. The following command will copy it to another place where it should work correctly.
    cp pkitool ../

  14. Hi, I did what you did but I have that message "/etc/openvpn# ./easy-rsa/build-ca OpenVPN
    ./easy-rsa/build-ca: 8: ./easy-rsa/build-ca: ./pkitool: not found
    " can you help me with that?
    Thanks

  15. All the example config files are in /etc/openvpn/easy-rsa Starting @ 1:00 in the video I created a symlink named openssl.cnf from the correct config file in that directory. The command was "ln -s openssl-1.0.0.cnf openssl.cnf" without the quotes. I hope this helps ya out 🙂

  16. when i try to run "./easy-rsa/build-ca OpenVPN" i get "grep: /etc/openvpn/easy-rsa/openssl.cnf: No such file or directory
    pkitool: KEY_CONFIG (set by the ./vars script) is pointing to the wrong
    version of openssl.cnf: /etc/openvpn/easy-rsa/openssl.cnf
    The correct version should have a comment that says: easy-rsa version 2.x"

    i know that this is the wrong version of the openssl.cnf file do you know where the correct version is?

  17. Definitely way too complicated for my measly skills and patience but I like to see something this dedicated, with blurs and shit. Thanks in the name of others…

نظرات بسته شده اند.