RouterOS 7 - How to Setup OpenVPN Server in MikroTik (2024)

Ғылым және технология

Hello everyone, this video article will provide everything you need to know about setting up an OpenVPN server on your MikroTik router.
Subscribe ‪@Wirenetwork‬
What is OpenVPN ?
OpenVPN is a VPN system that implements techniques to create secure point-to-point or site-to-site connections in bridged configurations and remote access facilities. It implements both client and server applications.
OpenVPN allows peers to authenticate each other using pre-shared secret keys, certificates or username/password. When used in a multiclient-server configuration, it allows the server to release an authentication certificate for every client, using signatures and certificate authority.
How to Create OpenVPN Server in tp-link Omada ER605.
• OpenVPN - How to Creat...
Follow us on
Facebook - / wirenetwork.in
Instagram - / wirenetwork1
WhtasApp Channel - www.whatsapp.com/channel/0029...
#openvpn #mikrotik #wirenetwork

Пікірлер: 86

  • @chrisway6848
    @chrisway68483 ай бұрын

    I've tried about five VPN setup guides. They all worked, but it was problematic. Your guide made me a perfectly working VPN server. Thank you so much!

  • @Wirenetwork

    @Wirenetwork

    3 ай бұрын

    Congrats Brother 🎊🎉

  • @Gnickz0r
    @Gnickz0r2 ай бұрын

    Dude....Thank you so much. You can't imaging what I've been through to set a vpn connection lately... The most complete guide. The only addition that I could say is that you could inform people here, that they need to port forward the port 1194(that you did set before for the server) from the ISP Router.

  • @Wirenetwork

    @Wirenetwork

    26 күн бұрын

    Glad I could help!

  • @Fozzie-Bear
    @Fozzie-Bear4 ай бұрын

    Excellent, as always

  • @Pyka_B_Tpycax
    @Pyka_B_Tpycax3 ай бұрын

    Thank you very much! I wish you and your family healthy and everything best.

  • @simaolemba5493
    @simaolemba5493Ай бұрын

    Excellent video, Followed the instructions to setup and it is working as charm.👌👌👌👌👌

  • @BasvanderVeeken
    @BasvanderVeeken15 күн бұрын

    Thanks! It took around 2 hours in total to get it working.. Somehow I mixed NAT and Filter Rules (causing timeout). Also mixed some things between certifcates 🥳 Also, I added redirect-gateway def1 after the route 10.10.10.0 255.255.255.0 so all traffic will go through the OpenVPN.

  • @Wirenetwork

    @Wirenetwork

    15 күн бұрын

    My LAN subnet is configured as 10.10.10.0/24 and has been Route for remote access. To connect remotely, it is necessary to input your LAN IP subnet address into the OVPN configuration file.

  • @BasvanderVeeken

    @BasvanderVeeken

    15 күн бұрын

    @@Wirenetwork Aha, my LAN subnet is 192.168.178.1/255.255.255.0, should my route then be 192.168.178.0/24?

  • @Wirenetwork

    @Wirenetwork

    15 күн бұрын

    Yes

  • @FlowerShopGuy
    @FlowerShopGuy20 күн бұрын

    Thanks, really fast and easy. 5:30 - Not sure if this need it, coz with this rule my seervers that from back the router seen Mikrotik IP instead clients ip.

  • @Wirenetwork

    @Wirenetwork

    19 күн бұрын

    Welcome

  • @Sharovich
    @Sharovich3 ай бұрын

    Pal, you are the best of the best. Excellent tutorial.

  • @Wirenetwork

    @Wirenetwork

    3 ай бұрын

    Wow, thanks!

  • @trexx_media
    @trexx_media5 ай бұрын

    nice , informative video

  • @Wirenetwork

    @Wirenetwork

    5 ай бұрын

    Thanks a lot

  • @LucasFloridi
    @LucasFloridi4 ай бұрын

    Ecellent!! Save my job!!!!

  • @user-qg9gl8pb5h
    @user-qg9gl8pb5h29 күн бұрын

    Thanks of this time really worked. Nice didatic method. and the sound!!

  • @Wirenetwork

    @Wirenetwork

    28 күн бұрын

    You're welcome!

  • @Wirenetwork

    @Wirenetwork

    27 күн бұрын

    Thanks....don't forget to click subscribe 😊

  • @user-pk9mg2lr4e
    @user-pk9mg2lr4e2 ай бұрын

    Thank you very much brother, I learned a lot. It works. I just also added a rule on Firewall to accept connection from virtual pool. That way I can remotely manage my mikrotik. Also, in config file, last step, step10, when you type the IP address, you are typing local address of that Mikrotik router, correct?

  • @Wirenetwork

    @Wirenetwork

    2 ай бұрын

    Yes..

  • @newten1982
    @newten198228 күн бұрын

    do i use the same range ip for config route you use in video ? if not . where do i get it

  • @Wirenetwork

    @Wirenetwork

    28 күн бұрын

    add your Mikrotik LAN IP on route..if you have multiple IP Configure on LAN Side then enter all of it on route.

  • @bhartendulal8645
    @bhartendulal86452 ай бұрын

    Hi, Thanks for the video, I configure all the guideline as you suggested in video, Openvpn is connected but when i am going to do whatismyserver the IP address is not showing the VPN server IP, that means OPENVPN is going to connect but not reverting on the server, Can you gudie? what could be the issue?

  • @Wirenetwork

    @Wirenetwork

    2 ай бұрын

    Are you able to access the network after connecting to OpenVPN?

  • @bhartendulal8645

    @bhartendulal8645

    2 ай бұрын

    @@Wirenetwork yes!! Internet is working , in openvpn showing connected, Getting IP address as well, showing Mikrotik server IP also, But reverting IP on vpn server

  • @areezafsar
    @areezafsar2 ай бұрын

    08:50 - Export .ovpn config file - this button is not showing up in my winbox, my routeros version is 7.6, where can I find it to export the config file?

  • @Wirenetwork

    @Wirenetwork

    2 ай бұрын

    Upgrade your routerOS firmware.

  • @nobvireak4204
    @nobvireak420411 күн бұрын

    Hello sir i follow your video and successfully but when check public ip still the same please help me sir ?

  • @Wirenetwork

    @Wirenetwork

    11 күн бұрын

    Are you able to access your local network after connecting OpenVPN ??

  • @Brianhc17
    @Brianhc172 ай бұрын

    Thanks for your tutorial, it works perfectly. Can you explain to me how I can access other subnet segments through the VPN configuration? since the configuration connects without problems but I cannot access the sub networks of my mikrotik, Thanks!

  • @Wirenetwork

    @Wirenetwork

    2 ай бұрын

    insert your subnetwork gateway IP address and subnet details into the OpenVPN Config file

  • @Brianhc17

    @Brianhc17

    2 ай бұрын

    @@Wirenetwork I will look for information on how to do it, thanks!

  • @socheak40
    @socheak40Ай бұрын

    Hello Sir, I am tried configure with Mirkotik RB951G-2HnD doesn't have bottun export ovpn. how can i do it for the next?

  • @Wirenetwork

    @Wirenetwork

    Ай бұрын

    Upgrade firmware to routeros 7

  • @socheak40

    @socheak40

    Ай бұрын

    @@Wirenetwork Great dear, The ovpn can connected in the local but difference vlan but tried to other internet or 4G doesn't connect. How to define the problem? Please help dear!

  • @Wirenetwork

    @Wirenetwork

    29 күн бұрын

    did you have Static ip address (Mikrotik WAN)

  • @socheak40

    @socheak40

    29 күн бұрын

    @@Wirenetwork, Thank dear for response! Mikrotik got dhcp or static IP but from local for test. it's not working or we need public IP ?

  • @Wirenetwork

    @Wirenetwork

    29 күн бұрын

    Hello, dear.. in order to establish a remote access VPN server, a fully qualified domain name (FQDN) or public Static IP Address is required.

  • @madandhungana-nk9jn
    @madandhungana-nk9jn2 ай бұрын

    How to find client certificate key

  • @DaliaPhotographer
    @DaliaPhotographerАй бұрын

    i follow the video but i face an error "sorry unsupported options present in configuration" any help

  • @Wirenetwork

    @Wirenetwork

    Ай бұрын

    Send me OpenVPN Log details at netwatchindia@gmail.com

  • @mitchellmnr
    @mitchellmnrАй бұрын

    Just don't click OK when creating the certs, then you don't have to re-open to click sign

  • @Wirenetwork

    @Wirenetwork

    Ай бұрын

    Yes brother you are right... thanks..👍

  • @user-uu8ep2xw5j
    @user-uu8ep2xw5j17 күн бұрын

    I can't add a new certificate, (user)

  • @newtech2241
    @newtech224117 күн бұрын

    I try doing guide linept but not work😢

  • @Wirenetwork

    @Wirenetwork

    17 күн бұрын

    Explain in detail what problem you are facing. I will help you if I can.

  • @AirNet2020
    @AirNet20202 ай бұрын

    My Mikrotik router is connected to my primary router, and my Mikrotik is the secondary router connected via LAN. OpenVPN won't connect. Is there anything I need to do to establish the VPN connection after completing the steps in this video?

  • @Wirenetwork

    @Wirenetwork

    2 ай бұрын

    did you have public static ip on your secondary Router ?

  • @AirNet2020

    @AirNet2020

    2 ай бұрын

    @@Wirenetwork It was set to auto dhcp and obtained a LAN IP from the primary router

  • @razvanalexandru5128

    @razvanalexandru5128

    2 ай бұрын

    To begin with, set a static IP in the first router for the second router so that the assigned IP does not change every time you restart it or run out of power. Then forward the port you use for the OVPN connection from the first router to the second router. Normally the port that uses it mikrotik is 1194 but can be changed.

  • @meronvlogz

    @meronvlogz

    2 ай бұрын

    @@razvanalexandru5128 I'll try that since I have that same issue. I also tried removing the primary router and just simply having my router connected directly to the cable modem. Unfortunetly I still wasn't able to connect from an outside network with that configuration as well.

  • @user-uu8ep2xw5j
    @user-uu8ep2xw5j17 күн бұрын

    what should I do, how do I add a new user certificate????

  • @Wirenetwork

    @Wirenetwork

    17 күн бұрын

    Send error screenshot to netwatchindia@gmail.com

  • @y0utubero
    @y0utubero3 ай бұрын

    Is it okay not to include Private Password Key?

  • @Wirenetwork

    @Wirenetwork

    3 ай бұрын

    it's mandatory for security purposes

  • @user-ty7yv6fw1w
    @user-ty7yv6fw1w17 күн бұрын

    where did you get the IP add 9:58 10.10.10.0 255.255.255.0 ?

  • @Wirenetwork

    @Wirenetwork

    17 күн бұрын

    This is my local network, I have routed it for remote access. You add your local network.

  • @user-ty7yv6fw1w

    @user-ty7yv6fw1w

    17 күн бұрын

    @@Wirenetwork Thanks

  • @Wirenetwork

    @Wirenetwork

    16 күн бұрын

    Welcome

  • @BeypinarliArici
    @BeypinarliArici5 ай бұрын

    Güzel paylaşım teşekkür ler birde şu radius manager ayarlayabilsek yapamıyorum beceremiyorum

  • @abdul_rehman_9t4
    @abdul_rehman_9t413 күн бұрын

    How to find client certificate keys?

  • @Wirenetwork

    @Wirenetwork

    13 күн бұрын

    Why find the client key?

  • @abdul_rehman_9t4

    @abdul_rehman_9t4

    13 күн бұрын

    When I connect through OVPN then I upload file and then enter username and password the show enter 'Private Key Password' Which private key should I enter there? 😕😔

  • @Wirenetwork

    @Wirenetwork

    13 күн бұрын

    When you export OpenVPN file in MikroTik, you will get the option of private key there. You have to add the same private key in the client.

  • @Wirenetwork

    @Wirenetwork

    13 күн бұрын

    In OpenVPN server settings you will get the option of Export OVPN.

  • @kennycl8171
    @kennycl8171Ай бұрын

    for not woking

  • @Wirenetwork

    @Wirenetwork

    Ай бұрын

    What happened??

  • @kennycl8171

    @kennycl8171

    Ай бұрын

    @@Wirenetwork i don't know sir

  • @user-uu8ep2xw5j
    @user-uu8ep2xw5j17 күн бұрын

    NOTE: --user option is not implemented on Windows NOTE: --group option is not implemented on Windows what is the reason?

  • @Wirenetwork

    @Wirenetwork

    17 күн бұрын

    I haven't understood what you saying ??

  • @carlgustavmurto6858
    @carlgustavmurto685829 күн бұрын

    crypto_alg:aes-gcm-256:not found

  • @Wirenetwork

    @Wirenetwork

    28 күн бұрын

    I think you made mistake during creating certificates...if it possible then watch my video again.

  • @user-uu8ep2xw5j
    @user-uu8ep2xw5j3 ай бұрын

    can I throw off the config?

  • @Wirenetwork

    @Wirenetwork

    3 ай бұрын

    ??

  • @user-uu8ep2xw5j

    @user-uu8ep2xw5j

    3 ай бұрын

    @@Wirenetwork adding route on config file 9:47

  • @Wirenetwork

    @Wirenetwork

    3 ай бұрын

    Yes..you need to add manual route on config file...like Route 192.168.0.1 255.255.255.0

  • @user-uu8ep2xw5j

    @user-uu8ep2xw5j

    3 ай бұрын

    @@Wirenetwork But I’m talking about the file itself, the text, can I attach it in the description?

  • @user-uu8ep2xw5j

    @user-uu8ep2xw5j

    3 ай бұрын

    @@Wirenetwork Will this file work on PC?

  • @madandhungana-nk9jn
    @madandhungana-nk9jn2 ай бұрын

    How to find client certificate key

  • @madandhungana-nk9jn
    @madandhungana-nk9jn2 ай бұрын

    How to find client certificate key

  • @Wirenetwork

    @Wirenetwork

    2 ай бұрын

    No need to find it, you need to create certificate key

Келесі