can't find openvpn key folder
Quote:
locate easy-rsa finds nothing |
I think you have double posted the same in the Newbie section.
Regards, -- Prasanta |
Quote:
the folder doesn't exist. [root@localhost usr]# locate easy-rsa [root@localhost usr]# cd /usr/share/openvpn/easy-rsa -bash: cd: /usr/share/openvpn/easy-rsa: No such file or directory [root@localhost usr]# locate openvpn /usr/share/doc/dnsmasq-2.50/openvpn /usr/share/doc/dnsmasq-2.50/openvpn/README /usr/share/doc/dnsmasq-2.50/openvpn/dhclient-enter-hooks /usr/share/doc/dnsmasq-2.50/openvpn/dnsmasq.patch /usr/share/doc/selinux-policy-2.4.6/html/services_openvpn.html /usr/share/logwatch/default.conf/services/openvpn.conf /usr/share/logwatch/scripts/services/openvpn [root@localhost usr]# |
?
yum install openvpn should do the job but it doesn't seem to install the easy-rsa folder? I have no way to generate the keys without that. |
I think the openvpn package is broken. Try it with the `dag` repository. It will be located in, /usr/share/doc/openvpn-2.0.9/easy-rsa
Regards, -- Prasanta |
Quote:
Code:
[root@localhost ~]# rpm -i openvpn-2.0.9-1.el5.rf.i386.rpm Quote:
|
Remove the `openvpn` package that is already installed. Then add the `dag` repository to yum, and then install `openvpn` again. I have tried it just now and is able to find those directories.
http://pastebin.ca/1572925 I have installed it via yum. Regards, -- Prasanta |
Quote:
I can only find instructions on how to do it with rpm. |
Quote:
Open, Code:
/etc/yum.repos.d/CentOS-Base.repo Code:
[dag] Regards, -- Prasanta |
Thanks - works now - I'll get that fixed.
For VPN to work, do I need many ports open? Because the client machine will have many different applications using many ports or are they all tunnelled on 1 port? If 1port, then how can an outgoing 2345 from the client connect to 4000 on another server but with my machine in the middle? |
By default, if I am not mistaken, it runs on port 1194. You need to accept incoming connection on that port. You being in the middle, you can port forward the request to the server.
Regards, -- Prasanta |
Quote:
For example if the client uses MSN messenger connecting on port 8888, do I have to have 8888 open on my server or only 1194? When my server receives a response from the msn server, do I need 8888 open on incoming and outgoing???? I would need to open every single port for a vpn to work properly? |
You need to open only port 1194. In the clients configuration file you can mention the port number. So anyone tries to connect will only hit the mentioned port.
`vars`, `clean-all` scripts does not have executable permissions and hence you are getting the error. Try doing Code:
. ./clean-all Regards, -- Prasanta |
Quote:
What happens to the connection after that point? My server passes on the request to MSN but how does it receive a response if the port 1080 on my server is not open? |
Are you planning to log into the VPN server using MSN? Normally you would have the openvpn client (including software) wherein you specify the server name along with the port.
Regards, -- Prasanta |
All times are GMT -5. The time now is 02:29 PM. |