How to create VPN server on Mikrotik with OpenVPN ( Client to Site )

Поділитися
Вставка
  • Опубліковано 27 сер 2024

КОМЕНТАРІ • 164

  • @desert-home
    @desert-home 2 роки тому +14

    A number of people have encountered the following error when they follow these instructions.
    "Cipher negotiation is disabled since neither P2MP client nor server mode is enabled
    Options error: On Windows, --ifconfig is required when --dev tun is used""
    The fix is not what has been listed before like using the entire pathname to the files or an incorrect first line.
    There is a missing line at the very top; simply put "client" as the very first line then everything else is fine. If you look carefully at the video, this line is there, and if you look at the author's comment below the video, you'll see it there concatenated with the file name.
    It's an easy mistake to make (I did it) and equally easy to correct.
    The rest of the tutorial worked fine for me

  • @SamirNetCore
    @SamirNetCore 2 роки тому +20

    Nice tutorial. I have only one issue with the new version of OpenVPN. OpenVPN always gave an error with the private key, I solved it by changing the line "cipher AES-256-CBC" to "data-ciphers AES-256-CBC" in the config file.

  • @milleroliveira7809
    @milleroliveira7809 3 роки тому +5

    Simple and directed! Thanks man

  • @keshavgautam173
    @keshavgautam173 Рік тому

    Those guys who is facing internet issues after connecting to the VPN please add the following line in config file
    "redirect-gateway def 1" (don't put inverted comma)

  • @alexcruces8759
    @alexcruces8759 Рік тому

    very very thanks, you are the best teacher on the world, I always see your videos and I've learned too much

    • @NETVN82
      @NETVN82  Рік тому

      Glad to hear that!

  • @athemkyuketsuki7566
    @athemkyuketsuki7566 2 роки тому +1

    thank you broo, other videos don't talk about proxy arp

    • @NETVN82
      @NETVN82  2 роки тому +1

      Welcome 👍

  • @nikitalopez1810
    @nikitalopez1810 3 роки тому +1

    Thank you friend, you bring a lot of knowledge and super interesting tools, please you could create a video step by step configure hotspot internet sale by pins or voucher🙏

  • @JAM-bf7lc
    @JAM-bf7lc Рік тому +1

    beautiful tutorial, thank you very much and thanks again for sharing your knowledge

    • @NETVN82
      @NETVN82  Рік тому

      Thanks for watching!

  • @vienovan9195
    @vienovan9195 4 місяці тому

    Hướng dẫn rất dễ hiểu ! Xin cảm ơn bạn !

  • @lccouto
    @lccouto 2 роки тому +5

    i can connect, but can't ping the internal devices. what should i do?

    • @Afraa34
      @Afraa34 2 роки тому

      me too. did you fix it?

    • @lccouto
      @lccouto 2 роки тому

      @@Afraa34 add the line "redirect-gateway def 1" (wihout quotes) on the .ovpn config file

    • @punchermash
      @punchermash 2 роки тому

      @@lccouto Hello, I have the same problem. I connect to openvpn server and i can ping only gateway. I cant ping other devices in my network

    • @ashutoshbhakta5220
      @ashutoshbhakta5220 Рік тому

      ​@@punchermash same here

    • @punchermash
      @punchermash Рік тому

      @@ashutoshbhakta5220 you need to make new rule for nat masqurade from your lan to vpn client, and then it will be works

  • @meronvlogz
    @meronvlogz 3 місяці тому

    What do you do if your Mikrotik Router is the secondary router and you have to connect it to a primary router?

  • @fabiowillian7785
    @fabiowillian7785 2 роки тому +1

    thank you !! you are the number one!!

  • @ibrahimarif6966
    @ibrahimarif6966 2 роки тому +2

    do we need to do port forwarding in Modem provided by ISP? please explain.

  • @pavelkraev7476
    @pavelkraev7476 7 місяців тому +1

    You have mistake in your config google file. String 3. You need to put - between "proto tcp-client" otherwise it doesn't work!

  • @bhoyasunil3355
    @bhoyasunil3355 3 роки тому +1

    Thank you so much this video i went.

    • @NETVN82
      @NETVN82  3 роки тому

      Glad it helped

  • @amirhosseinkhodami762
    @amirhosseinkhodami762 2 роки тому +1

    Perfect! Thank you so much

  • @foxiiiiik
    @foxiiiiik 2 роки тому +4

    Good tutorial. I got it up and running. Now I can ping and connect to my Mikrotik OpenVPN Server from remote OpenVPN Client. But I am still unable to ping any address behind the Mikrotik router. Do I still need to configure something ?

    • @Darktoto85
      @Darktoto85 2 роки тому

      Hi ! Have you find why ?

    • @Darktoto85
      @Darktoto85 2 роки тому +1

      Ho ! it's ok when i enable proxy-arp on bridge :-)

    • @Lagstra
      @Lagstra 2 роки тому

      I had enabled proxy-arp on the bridge but i still cannot acces the internet through the VPN, only local addresses

    • @mohannadmazin
      @mohannadmazin 2 роки тому

      the same problem... did you manage to find a solution?

    • @android2736
      @android2736 2 роки тому

      routing?

  • @MuhammadFaysal
    @MuhammadFaysal 2 роки тому +1

    please please make a tutorial on new (RouterOS 7) WireGuard VPN configuration like (A vpn provider to mikrotik router setup)

  • @MrFiDanik
    @MrFiDanik 11 місяців тому +1

    Hello. i have a question about interface why you put on interface2? I mean step 5"Enable proxy arp on the lan interface. Can you please describe this step

    • @zelta4211
      @zelta4211 10 місяців тому

      same i don't undersand why he select the lan 2

    • @MrFiDanik
      @MrFiDanik 10 місяців тому

      @@zelta4211 maybe the main interface?

  • @Quettesh
    @Quettesh 11 місяців тому +1

    What about default firewall rules (configured when quick setup is used)? Is there any conflict?

  • @mohamedaman4501
    @mohamedaman4501 3 роки тому +1

    ممتاز كالعادة thanks

  • @goganikolashvili7074
    @goganikolashvili7074 Рік тому

    thank you brooo its workin 100 %

  • @kellyojanomare2379
    @kellyojanomare2379 Рік тому

    i followed your step but it didnt automatically create openvpn folder on my desktop, what should i do? oris not working on mikrotik hex poe lite (mipsbe) ?

  • @romandanko9506
    @romandanko9506 2 роки тому +5

    2021-10-09 09:25:05 us=812000 Cipher negotiation is disabled since neither P2MP client nor server mode is enabled
    Options error: On Windows, --ifconfig is required when --dev tun is used
    Use --help for more information.

  • @ThePatsev
    @ThePatsev Рік тому

    I followed the steps but have no internet connection when connected to ovpn. Is this my mistake?

  • @RodrigoLozada81
    @RodrigoLozada81 2 роки тому +1

    Asus routers create a single ovpn file with the cert information in itself. Anyone tried to create a single file like that by copying it from the certs?

  • @newerbits
    @newerbits Рік тому

    for android use profile
    client
    dev tun
    proto tcp-client
    persist-key
    persist-tun
    tls-client
    remote-cert-tls server
    verb 4
    auth-nocache
    mute 10
    remote domain/ip/host
    port 1194
    auth SHA1
    cipher AES-256-CBC
    redirect-gateway def1
    auth-user-pass

  • @danangadikrisna9605
    @danangadikrisna9605 2 роки тому +1

    I have problem with massage "Cipher negotiation is disabled since neither P2MP client nor server mode is enabled", What must I do ? please help me

    • @sftmark7
      @sftmark7 2 роки тому

      I get the same error.

    • @danangadikrisna9605
      @danangadikrisna9605 2 роки тому

      @@sftmark7 I found the tutorial and it worked
      visit link YT
      ua-cam.com/video/kOOJgvz5Qu8/v-deo.html

    • @pollycode5327
      @pollycode5327 Рік тому

      have you solved this problem? I have the same

    • @danangadikrisna9605
      @danangadikrisna9605 Рік тому

      @@pollycode5327 ua-cam.com/video/kOOJgvz5Qu8/v-deo.html

    • @vitoradolfo6119
      @vitoradolfo6119 Рік тому

      add "client" at first line, in the config file

  • @diegkol
    @diegkol 3 роки тому +3

    On Connect I get error: "Connecting to management interface failed. OpenVPN log error Cipher negotiation is disabled since neither P2MP client nor server mode is enabled. On Windows, --ifconfig is required when --dev tun is used."
    Solved:
    In openvpn.ovpn full path to certs and secret needs to be entered like "C:\\Program Files\\OpenVPN\\config\\cert_export_CA.crt" . Also added line client.

    • @ManueleFiorenza
      @ManueleFiorenza 2 роки тому

      and for this-->
      2021-10-10 19:39:17 us=375000 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

    • @RodrigoLozada81
      @RodrigoLozada81 2 роки тому

      @@ManueleFiorenza this changes should be in the ovpn file directly? got an example to share?

    • @ManueleFiorenza
      @ManueleFiorenza 2 роки тому

      @@RodrigoLozada81 issue is in newest version ! Install older, for ex. 2.4.4

  • @user-lc3km7hi8s
    @user-lc3km7hi8s Рік тому +1

    TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    this is the error i get
    kindly advice

    • @leyeseyi
      @leyeseyi Рік тому

      Hello @Hussein Issa
      I'm getting the same error too. Have you been able to fix it, please?
      Kindly provide any help.

  • @Inocenciodematos
    @Inocenciodematos 2 місяці тому

    Thank you!

  • @athulashashan699
    @athulashashan699 3 роки тому +1

    Thank you Sir

  • @tomiabraham
    @tomiabraham 2 роки тому

    Very good. Thanks a lot

  • @Shirinn_Guardian
    @Shirinn_Guardian 6 місяців тому

    What is this tool called? (At 0:49)

  • @hariyanto5835
    @hariyanto5835 5 місяців тому

    exited with error: exit code = 1 please help

  • @arashtorabi1217
    @arashtorabi1217 2 роки тому

    I really enjoy configuring OPVN

  • @davidmateo8
    @davidmateo8 Рік тому

    Muchas gracias, Funciona muy bien

  • @noennun
    @noennun 8 місяців тому

    @NETVN82 how to remove pop up "enter private key password" on the client ?

  • @user-ty1pt3tu3s
    @user-ty1pt3tu3s Рік тому

    Options error: Unrecognized option or missing or extra parameter(s) in openvpn.ovpn:15: ciphers (2.6.5) :((

  • @rodneyandrade6299
    @rodneyandrade6299 Рік тому +1

    Thanks 😃

  • @megatfarid5516
    @megatfarid5516 11 місяців тому

    Want to ask. Remote pc ip, means need pc turn on 24 hours so we can remote anywhere?

  • @TheDoubleef
    @TheDoubleef Рік тому +1

    Excelente. Obrigado

  • @ManueleFiorenza
    @ManueleFiorenza 2 роки тому +1

    Mikrotik nat firewall configuration and port forwarding are missing! Can u provide it?

    • @Pierre_1279
      @Pierre_1279 2 роки тому

      Input, tcp, dst port 1194, acept. Saludos!

    • @ManueleFiorenza
      @ManueleFiorenza 2 роки тому

      @@Pierre_1279 incomplete! Retry

    • @johanerasmus63
      @johanerasmus63 2 роки тому

      @@ManueleFiorenza Did you manage to find a solution?

  • @mohamedatef8424
    @mohamedatef8424 3 роки тому

    Nice video and info , can u make another video to SSL VPN Site to site Mikrotik to sophos ?

  • @miladsasani2375
    @miladsasani2375 Рік тому

    i have problem after client connected unfortunately they cant connect to internet

  • @eem1kv
    @eem1kv 8 місяців тому

    Thanks for sharing.. I am getting an error message "Unrecognized option or missing or extra parameter(s) in openvpn.ovpn:3: proto (2.6.8)" Any suggestions ??

  • @hamedmoradi1471
    @hamedmoradi1471 Рік тому +1

    Perfect!

  • @blizzstu
    @blizzstu 2 роки тому

    Hi, Will this allow me to surf the internet as In my previous attempt with L2pt i can only access the local network.

  • @beyond_it9722
    @beyond_it9722 3 роки тому +2

    So what App are you use for Mapping the Network ?

    • @NETVN82
      @NETVN82  3 роки тому +2

      i use eve-ng

    • @beyond_it9722
      @beyond_it9722 3 роки тому

      @@NETVN82 owhh thats cool, and if i use smartphone can you recomende to me whatsapp i can use?

  • @leyeseyi
    @leyeseyi Рік тому

    I followed the video all through but was get this error "dco connect error: The remote computer refused the network connection. (errno=1225)"
    Any help from anyone here, please?

  • @mukto2004
    @mukto2004 Рік тому

    how can i put ca,cert and secret into a single ovpn so that I can also use it on my phone

  • @cupsa6134
    @cupsa6134 Рік тому

    what model of microtik router did you use?

  • @kasiang7405
    @kasiang7405 3 роки тому +2

    Can you make a video on proxy arp?

  • @soelinnhtike
    @soelinnhtike 2 роки тому

    Thank you.
    i'm Tested is Ok.

  • @compi-nation1300
    @compi-nation1300 2 роки тому +1

    Hi im still getting my networks public IP instead of my routers public IP

    • @VampireBat
      @VampireBat Рік тому

      Did you manage to solve the issue? I'm having the same issue.

  • @user-xv6eu4lc7p
    @user-xv6eu4lc7p Рік тому

    nice tutorial

  • @mikrotikpakistan1630
    @mikrotikpakistan1630 2 роки тому +1

    how to connect on mobile cli3nt

  • @ahmednihadhussein2324
    @ahmednihadhussein2324 2 роки тому

    thanks its very helpfull

    • @NETVN82
      @NETVN82  2 роки тому

      Glad to hear that

  • @giuseppegrandis3409
    @giuseppegrandis3409 Рік тому

    Is it possible to have the same local network on both sides?

  • @SyedAmmarHaider177
    @SyedAmmarHaider177 Рік тому

    excellent video

    • @NETVN82
      @NETVN82  Рік тому

      Thank you very much!

  • @rukhanzakaria
    @rukhanzakaria 3 роки тому

    Next Tutorial, how to setup ovpnserver with 2 komputer Windows than they can sharing folder. Tq

  • @essonofrancis
    @essonofrancis 3 роки тому +1

    Thanks

  • @hornchamroeun6064
    @hornchamroeun6064 3 роки тому +1

    Thanks bro

  • @Pierre_1279
    @Pierre_1279 2 роки тому +1

    Hola!! Genio, sabes porque no recibo la ip publica del servidor vpn cuando me conecto?? Sigo manteniendo la ip publica del movil cuando estoy conectado al vpn

  • @branislavrikic
    @branislavrikic 2 роки тому

    How many client certificates can generate on Mikrotik?!

  • @MyOwntuahur
    @MyOwntuahur 3 роки тому

    Terimakasih banyak atas informasinya

  • @krzysztofp.7520
    @krzysztofp.7520 2 роки тому

    Hello, I have an OPENVPN server on Mikrotik, please help me configure the ovpn file for synology dsm7 connection, is it possible, best regards

  • @edusoftkenya6917
    @edusoftkenya6917 2 роки тому

    Hello Nevin, just to be sure i must have a Public IP in order to create this?

    • @r.robbi.s3319
      @r.robbi.s3319 2 роки тому

      Same think, how if we dont have any public ip?
      @netvn

  • @javiermurciagalvez5651
    @javiermurciagalvez5651 2 роки тому

    Hello!! Genius, do you know why I don't get the public ip from the vpn server when I connect? I still keep the public ip of the mobile when I am connected to the vpn

  • @explorevrt
    @explorevrt Рік тому

    You haven't mentioned firewall

  • @kqabro
    @kqabro 3 роки тому +1

    Thanks for such a nice tutorial, however I am unable to create secret file without text version, and it saves only in that format despite removing .txt extension

    • @kqabro
      @kqabro 3 роки тому +3

      gives me error "connection to management interface failed"
      followed each step and following is the log error "us=163584 Cipher negotiation is disabled since neither P2MP client nor server mode is enabled
      Options error: On Windows, --ifconfig is required when --dev tun is used
      Use --help for more information."

    • @tomiabraham
      @tomiabraham 2 роки тому

      Try to configure the file explorer to see always the extension of the files, so you can just delete it and it's all.

  • @user-tu8uq5vl4b
    @user-tu8uq5vl4b 3 роки тому

    Thank you! Ok!

  • @DevSingh-dh2rq
    @DevSingh-dh2rq 2 роки тому

    Sir when I configer same I have show error

  • @zaikan2
    @zaikan2 Рік тому

    Hi bro , nice tutorial , i have a question : I wanna to creato 2 users ,I know can create in ppp -secrets, but .How do it with the secret file for client Open Vpn. Excusme for the bad english

  • @chalapakaraj2854
    @chalapakaraj2854 3 роки тому +1

    1 view brother

  • @ernestomagallanes4155
    @ernestomagallanes4155 2 роки тому +1

    Not workinh

  • @bichngoctrinh7131
    @bichngoctrinh7131 3 роки тому +1

    thay Ip WAN bằng DDNS có sẵn của router được không ạ?

    • @NETVN82
      @NETVN82  3 роки тому +1

      được chứ bạn

  • @cesaramaral4626
    @cesaramaral4626 2 роки тому

    the video image has a problem

  • @igorgomes1114
    @igorgomes1114 5 місяців тому

    thanks!!!!!!

  • @gkakos1992
    @gkakos1992 Рік тому

    how can i use these files to connect on the android open VPN? Please help me, thanks a lot for you video

  • @infsoft
    @infsoft 2 роки тому

    Hello, Hi how are you, the other OpenVPN videos, they were very interesting, why did you delete them?

    • @NETVN82
      @NETVN82  2 роки тому +1

      i will upload soon

  • @cesaramaral4626
    @cesaramaral4626 2 роки тому

    the video image is distorted

  • @BDServerSolutions
    @BDServerSolutions 3 роки тому

    Thanks bro.

  • @user-ul6yh5bg6m
    @user-ul6yh5bg6m Рік тому

    can we do the same for v2ray vpn

  • @lm-computerti
    @lm-computerti 8 днів тому

    Bom dia a todos, tudo bem?
    Alguem consegue me ajudar depois crio a vpn e funciona conecta como faço pra acessar a rede remota tipo acessar os compartilhamentos.
    muito obrigado.

  • @FREELANCE_IT
    @FREELANCE_IT 2 роки тому

    kalau client dari android, posisi konek pakai jaringan 4g sinyal android diterapkan openvpn

  • @natthapolchumrod4976
    @natthapolchumrod4976 2 роки тому

    Thank Bro

  • @christopheoudin3625
    @christopheoudin3625 3 роки тому

    Hi good vidéo. Did you know how to configure ovpn server for using cloud ip or ddns as wan adresse. Thank you

  • @loujenerenico1792
    @loujenerenico1792 Рік тому

    how many can connect?

  • @vnCamprocom
    @vnCamprocom Рік тому

    Thank you so much. Can you help me to config client from mac os or android os connect with openvpn connect? when i import file xx.opvn, it's fail with notification : failed to parse profile: CA.crt, Client.crt, Client.key, secret

  • @blazemark8697
    @blazemark8697 2 роки тому

    my ros 6.46.8 log error duplicate packet,dropping

  • @hugohelvio2076
    @hugohelvio2076 2 роки тому

    thx

  • @sefacix
    @sefacix 2 роки тому

    It is a pity that your translations are not in Turkish.

  • @abbasmikrotik1635
    @abbasmikrotik1635 2 роки тому

    😍😍😍

  • @crearelectronica
    @crearelectronica 3 роки тому

    Porque los títulos de este canal, salen en español? 🤔

  • @amin-ko2yr
    @amin-ko2yr 2 роки тому

    what is your software simulator

  • @markokaracic9933
    @markokaracic9933 3 роки тому

    Can we put dns in CA CRL HOST instead public ip?
    And when we put ppp secret why we must set remote addres of pc?
    You have very good tutorials!

  • @user-kk2jq7vx5e
    @user-kk2jq7vx5e 3 роки тому

    А я делаю на каждого индивидуальный сертификат.

  • @ashutoshbhakta5220
    @ashutoshbhakta5220 Рік тому

    nice tutorial, thanks for sharing

    • @NETVN82
      @NETVN82  Рік тому

      Thank you too

    • @ashutoshbhakta5220
      @ashutoshbhakta5220 Рік тому

      ​@@NETVN82 I am able to connect to open VPN to every remote computer also able to ping gateway but unable to ping the networ element ip's pls help

  • @lqyj
    @lqyj 2 роки тому

    Please make openvpn crack free 10k user