opvpn client (mikrotik) of a Linux deban openvpn server

Good evening community,
Please i need Help

it is possible to configure opvpn client on mikrotik routerboard 750 which will be a client of an openvpn server on Linux Debian machine?

if it is possible, can someone tell me how i could do it please!!

Thanks

Yes it’s possible. I can’t give you the exact configs just some hints… set the openvpn server to TCP and disable comp-lzo.

maybe this will help you. At the bottom is my solution.
http://forum.mikrotik.com/t/clients-in-mikrotik-cannot-access-debian-openvpn-server/64660/1

Thanks!!

I try which that..

Hello Kubco2!
I am happy for the link you gave me (viewtopic.php?f=2&t=70993) .
But I am a beginner which Mikrotik router. Can you please give me a small exhibit (shema) of the configuration we have in this link?
it is possible to more describe it


Thanks

I added some more info. But on Mikrotik there is not a lot of settings. You need only set ovpn_client
name=“ovpn-out1” mac-address=xyz max-mtu=1500
connect-to=serverIP port=1194 mode=ip user=client
password=“” profile=default-encryption certificate=cert1 auth=sha1
cipher=aes256 add-default-route=no

Maybe it will be better if you describe your problem.

Description of my problem.

We have many agencies connected to a (debian squeeze web server and open VPN server ).Every agency has a Mikrotik router board 750 and is connected to Internet.
But after the router we have install a PC (linux Red hat) which act as a openvpn client ; at end of the network, we have all the machine of agency.
Now what we want it is to delete The PC (linux Red hat) and make the router RB750 being open VPN client in all agency (so mikrotik RB750 openvpn client of the debian squeeze web server and open VPN server in every agency).

Thanks

And where is the problem in your configuration?
What doesnt work?

I try again!

My problem was where i would use the file key.crt and ca.crt generate by the server in Mikrotik RB750..

I will back whith u soon

upload files on ftp, or in winbox open Files and drag and drop files … import certificates from files… system>certificates>import …you need to have “K” flag on certificate file in system>certificates … then you can use interface > ovpn client and select your certificate

good evening,
I have two files generated by my openvpn server: client1.crt and client1.key
I had import them in Files of RB750 but when I go to System>certificate and tried to add them, nothing is added in certificate list window . I not know why

Can someone help me please

good afternoon,
I have two files generated by my openvpn server: client1.crt and client1.key
I had import them in Files of RB750 but when I go to System>certificate and tried to add them, nothing is added in certificate list window . I not know why

Can someone help me please

OK … I tested it now … First I added client.crt … certificate entry appeared … then I added client.key … then certificate entry got KR flags … in this order it works … maybe you need input passphrase too …

If it is not work for you, I cant help

nothing going well!!!

Good afternoon, community

I dont nkwow why but my mikrotik openvpn client is now connected to my server( Linux debian openvpn server). I have restart all the process step by step it is going well now
the server give to my mikrotik openvpn client the ip address 10.8.0.6 .

another problem is that : when i tried to ping the client (10.8.0.6) from the server (10.8.0.1) i got time out request

I dont know why. Please i need help

thanks

May be your firewall rules block ping from openvpn server.
You may try disable firewall rules and try ping again.
To disable firewall rules select IP->Firewall in Winbox. In window Firewall select the rule and press button with red cross to disable it (after you may enable it).
Also check routes on mikrotik (IP->Routes).
Another way - you can try to ping openvpn server from your mikrotik. In Winbox select “New terminal” and type command:
ping 10.8.0.1