Forums

Resolved
0 votes
Hi people, I have in thios situation 3 site.
Two of them are connected by OpenVPN to a central.

This is the configuration and it wor gerat!


dev tun
local XXX.XXX.XXX.XXX
port 1199
ifconfig 10.10.10.40 10.10.10.41
route 192.168.33.0 255.255.255.0
comp-lzo
keepalive 10 60
persist-key
persist-tun
user nobody
group nobody
secret static.key


The problems it's that my client want to add one site more and the new building use a Mikrotik, there is no configuration to use a static.key in Mikrotik.
Can I use OpenVPN without a secret key? for example


dev tun
local XXX.XXX.XXX.XXX
port 1199
ifconfig 10.10.10.40 10.10.10.41
route 192.168.33.0 255.255.255.0
comp-lzo
keepalive 10 60
persist-key
persist-tun
user nobody
group nobody
user kapi
pass superMan22


Thank you!!
In OpenVPN
Wednesday, November 08 2017, 05:27 PM
Share this post:
Responses (2)
  • Accepted Answer

    Wednesday, November 08 2017, 05:56 PM - #Permalink
    Resolved
    0 votes
    From what I've read, the Mikrotik can use certificates. Do you also need a User/Pass?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 08 2017, 05:51 PM - #Permalink
    Resolved
    0 votes
    I guess the user/pass are those of the Mikrotik and ClearOS is initiating the connection to the Mikrotik? In that case try the Windows config here or have a look at this for ideas. There is also more info on the OpenVPN site here. It depends if the Mokrotik is going to present a CA cert and so on.
    The reply is currently minimized Show
Your Reply