Hello,
I need support on how to configure OpenVPN on a MikroTik Router CRS109-8G-1S-2hnd-in. Here is what i did
#Certificado Servidor
/certificate add name=CA-tpl country="AR" state="Buenos Aires" locality="CABA" organization="CNSoluciones" unit="CNSoluciones" common-name="CA" key-size=4096 days-valid=3650 key-usage=crl-sign,key-cert-sign
/certificate sign CA-tpl ca-crl-host=127.0.0.1 name="CA"
/certificate add name=SERVER-tpl country="AR" state="Buenos Aires" locality="CABA" organization="CNSoluciones" unit="CNSoluciones" common-name="172.15.10.1" key-size=4096 days-valid=1095 key-usage=digital-signature,key-encipherment,tls-server
/certificate sign SERVER-tpl ca="CA" name="SERVER"
#Certificado Cliente
/certificate add name=CLIENT-tpl country="AR" state="Buenos Aires" locality="CABA" organization="CNSoluciones" unit="CNSoluciones" common-name="CLIENT" key-size=4096 days-valid=3650 key-usage=tls-client
/certificate add name=CLIENT1 copy-from="CLIENT-tpl" common-name="CLIENT1"
/certificate sign CLIENT1 ca="CA" name="CLIENT1"
/certificate export-certificate CA export-passphrase=""
/certificate export-certificate CLIENT1 export-passphrase="123456789"
#Template client1.ovpn
client
dev tun
proto tcp-client
remote my-ip-mkt.com
port 1194
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca ca.crt
cert client1.crt
key client1.key
verb 4
mute 10
cipher AES-256-CBC
auth SHA1
auth-user-pass secret
auth-nocache
;redirect-gateway def1
route 10.0.0.0 255.255.255.0
route 172.15.10.0 255.255.255.0
Also I created the secret file and put example
name
password
The Error is
I am getting error private key password failed
OpenVPN on a MikroTik Router CRS109-8G-1S-2hnd-in
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Jan 27, 2017 7:07 pm