Koozali.org: home of the SME Server

Ayuda con OVPN

Offline damarcus15

  • *
  • 31
  • +0/-0
Ayuda con OVPN
« on: February 21, 2013, 11:54:25 PM »
Hola caballeros y damas, mi pregunta de noviz el dia de hoy es como hacer trabajar un OpenVPN en mi SME Server 7.6?

El asunto es que instale el openvpn, bridge service, pki, openvpn bridge...

Ingreso al panel de administracion, completo la informacion que me piden de confiuracion (texto de los certificados, rango de la vpn, activar la vpn y demas) creo los certificados, los descargo (el .p12), descargo el texto con los datos de sitio remoto (archivo .ovpn) intento conectar y no trabaja!

Reviso mi firewall para ver que el puerto 1194 esté abierto y en efecto lo esta! Como puedo configurarlo para que trabaje?

mi red esta asi:

Modem (proveedor de servicios (D-Link)
Router (De la empresa MSI)
Servidor SME 7.6
SWITCH
6 terminales

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Ayuda con OVPN
« Reply #1 on: February 22, 2013, 08:45:56 AM »
I use openvpn with network-manager and windows without issues.

-the network-manager settings (in french sorry but with picture)
http://geekeries.de-labrusse.fr/?p=235
-for window
http://openvpn.se/download.html
you need the configuration file  of openvpn (save as user.ovpn in windows, it needs to be adjusted to your configuration)  and certificates (user.p12 + takey.pem)...of course you need to match "user" with the name of your user

if you need some informations to set the openvpn contrib you have the wiki page which is pretty complete. http://wiki.contribs.org/OpenVPN_Bridge
« Last Edit: February 22, 2013, 08:54:29 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Ayuda con OVPN
« Reply #2 on: February 22, 2013, 11:43:41 AM »
mi red esta asi:

Modem (proveedor de servicios (D-Link)
Router (De la empresa MSI)
Servidor SME 7.6
SWITCH
6 terminales

as i can see you have maybe to much firewall level.

modem (there is a NAT configuration in ?)
Router (port 1194 toward sme ip ?)
Servidor SME 7.6 (another firewall if you set you server in a server-gateway mode)

I do not understand well the necessity of having your router and your sme server-gateway both, i think that one alone is sufficient.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline damarcus15

  • *
  • 31
  • +0/-0
Re: Ayuda con OVPN
« Reply #3 on: February 22, 2013, 07:06:12 PM »
Thanks for your help, and sorry for my bad english!
I think i have problems with my firewalls (modem, router)
I remove the router of my lan to do it more easy,
but, i have the same problem,
I make a "DMZ host" on my modem, with the ip of my server to try to solve,
i have the port 1194 on listening mode (open)
but i cant connect with my VPN...

I make all steps which this page (http://wiki.contribs.org/OpenVPN_Bridge) say, but i cant solve my problem.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Ayuda con OVPN
« Reply #4 on: February 22, 2013, 09:22:43 PM »
ok what kind of client you have been used...

-networkmanager with linux
or
-openvpn gui for windows

if all are ok on your server side you have a "Certificates status    Certificates are ready"
keep in mind certificates are very important, make sure you have not commit a mistake with a wrong CA certificate or any other.

my first mistake was the takey.pem wich need to give a direction (direction 1 is needed), but have you enabled the service  of openvpn (tab OpenVPN-Bridge/service configuration) ?

sorry for english, because  i'm french, but there will are more people to interact....
« Last Edit: February 22, 2013, 09:28:25 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!