Тёмный

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

Wire Network
Подписаться 4 тыс.
Просмотров 23 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 155   
@chrisway6848
@chrisway6848 6 месяцев назад
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 6 месяцев назад
Congrats Brother 🎊🎉
@DavitMachavariani-m2u
@DavitMachavariani-m2u 18 дней назад
@@Wirenetwork hello, can you upload script for mikrotik > terminal automatically create and generate certificates
@Gnickz0r
@Gnickz0r 5 месяцев назад
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 3 месяца назад
Glad I could help!
@Pyka_B_Tpycax
@Pyka_B_Tpycax 6 месяцев назад
Thank you very much! I wish you and your family healthy and everything best.
@BasvanderVeeken
@BasvanderVeeken 3 месяца назад
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 3 месяца назад
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 3 месяца назад
@@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 3 месяца назад
Yes
@simaolemba5493
@simaolemba5493 4 месяца назад
Excellent video, Followed the instructions to setup and it is working as charm.👌👌👌👌👌
@Fozzie-Bear
@Fozzie-Bear 7 месяцев назад
Excellent, as always
@TIAsfaltosNordeste
@TIAsfaltosNordeste 3 месяца назад
Thanks of this time really worked. Nice didatic method. and the sound!!
@Wirenetwork
@Wirenetwork 3 месяца назад
You're welcome!
@Wirenetwork
@Wirenetwork 3 месяца назад
Thanks....don't forget to click subscribe 😊
@Sharovich
@Sharovich 6 месяцев назад
Pal, you are the best of the best. Excellent tutorial.
@Wirenetwork
@Wirenetwork 6 месяцев назад
Wow, thanks!
@trexx_media
@trexx_media 8 месяцев назад
nice , informative video
@Wirenetwork
@Wirenetwork 8 месяцев назад
Thanks a lot
@FlowerShopGuy
@FlowerShopGuy 3 месяца назад
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 3 месяца назад
Welcome
12 дней назад
Good
@paulusafrianto5205
@paulusafrianto5205 Месяц назад
Thanks sir, u save my life😇
@Wirenetwork
@Wirenetwork Месяц назад
Don't forget to subscribe 😊
@paulusafrianto5205
@paulusafrianto5205 Месяц назад
already sir
@Wirenetwork
@Wirenetwork Месяц назад
@paulusafrianto5205 thanks 🙏
@kaghofer
@kaghofer 5 дней назад
Thank you so much!!!
@Wirenetwork
@Wirenetwork 5 дней назад
Welcome
@LucasFloridi
@LucasFloridi 7 месяцев назад
Ecellent!! Save my job!!!!
@mgookov
@mgookov 12 дней назад
It works, thanks a lot!
@Wirenetwork
@Wirenetwork 12 дней назад
You're welcome!
@areezafsar
@areezafsar 5 месяцев назад
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 5 месяцев назад
Upgrade your routerOS firmware.
@MikrotikGM
@MikrotikGM 5 месяцев назад
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 5 месяцев назад
Yes..
@newten1982
@newten1982 3 месяца назад
do i use the same range ip for config route you use in video ? if not . where do i get it
@Wirenetwork
@Wirenetwork 3 месяца назад
add your Mikrotik LAN IP on route..if you have multiple IP Configure on LAN Side then enter all of it on route.
@rubigero2191
@rubigero2191 7 дней назад
thank you
@Wirenetwork
@Wirenetwork 7 дней назад
Most welcome
@bhartendulal8645
@bhartendulal8645 5 месяцев назад
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 5 месяцев назад
Are you able to access the network after connecting to OpenVPN?
@bhartendulal8645
@bhartendulal8645 5 месяцев назад
@@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
@eafrus
@eafrus Месяц назад
Thanks, it worked. How to wrap all traffic into a tunnel?
@Wirenetwork
@Wirenetwork Месяц назад
Means ?
@eafrus
@eafrus Месяц назад
@@Wirenetwork Sorry if I didn't express myself correctly. I installed the client on Android and wanted to set a default route in the VPN tunnel. Instead of ''route 10.10.10.0 255.255.255.0'' I wrote ''redirect-gateway def1''. Thanks for the instructions!
@socheak40
@socheak40 3 месяца назад
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 3 месяца назад
Upgrade firmware to routeros 7
@socheak40
@socheak40 3 месяца назад
@@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 3 месяца назад
did you have Static ip address (Mikrotik WAN)
@socheak40
@socheak40 3 месяца назад
@@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 3 месяца назад
Hello, dear.. in order to establish a remote access VPN server, a fully qualified domain name (FQDN) or public Static IP Address is required.
@danilosouza6498
@danilosouza6498 Месяц назад
Obrigado!
@Wirenetwork
@Wirenetwork Месяц назад
Most welcome
@petkoatanasov1080
@petkoatanasov1080 Месяц назад
In the last step where the openvpn profile is exported 8:30 , I don't have such a button to export openvpn. How to do it?
@Wirenetwork
@Wirenetwork Месяц назад
Upgrade routeros version
@petkoatanasov1080
@petkoatanasov1080 Месяц назад
Thank you!
@Wirenetwork
@Wirenetwork Месяц назад
Welcome 🤗
@nobvireak4204
@nobvireak4204 3 месяца назад
Hello sir i follow your video and successfully but when check public ip still the same please help me sir ?
@Wirenetwork
@Wirenetwork 3 месяца назад
Are you able to access your local network after connecting OpenVPN ??
@Brianhc17
@Brianhc17 5 месяцев назад
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 5 месяцев назад
insert your subnetwork gateway IP address and subnet details into the OpenVPN Config file
@Brianhc17
@Brianhc17 5 месяцев назад
@@Wirenetwork I will look for information on how to do it, thanks!
@aliesowa9567
@aliesowa9567 2 месяца назад
Thank you but unfortunately unable to connect. Don't know what i'm missing
@Wirenetwork
@Wirenetwork 2 месяца назад
Check mikrotik log
@Wirenetwork
@Wirenetwork 2 месяца назад
you can also share log details at netwatchindia@gmail.com if it's possible
@AlansoMatta-lz9lu
@AlansoMatta-lz9lu 2 месяца назад
Hello, Thank you so much for this detailed tutorial. However, when I try to connect on OpenVPN connect on my laptop, here is what I get as an error: crypto_alg: AES-GSM-256: not found
@Wirenetwork
@Wirenetwork 2 месяца назад
Open .ovpn file with notepad, then enter cipher AES-256-CBC
@AlansoMatta-lz9lu
@AlansoMatta-lz9lu 2 месяца назад
@@Wirenetwork Thank you for your reply. I already did that but now it gives connection Timeout .....I doubt I am using the wrong IPs
@Wirenetwork
@Wirenetwork 2 месяца назад
did you have public ip address on your mikrotik router ?
@AlansoMatta-lz9lu
@AlansoMatta-lz9lu 2 месяца назад
@@Wirenetwork yes
@Wirenetwork
@Wirenetwork 2 месяца назад
if you haven't problem then you can share your OpenVPN config file via email at netwatchindia@gmail.com i will find solution for you.
@DaliaPhotographer
@DaliaPhotographer 4 месяца назад
i follow the video but i face an error "sorry unsupported options present in configuration" any help
@Wirenetwork
@Wirenetwork 4 месяца назад
Send me OpenVPN Log details at netwatchindia@gmail.com
@KimbersonRafaela
@KimbersonRafaela 3 месяца назад
where did you get the IP add 9:58 10.10.10.0 255.255.255.0 ?
@Wirenetwork
@Wirenetwork 3 месяца назад
This is my local network, I have routed it for remote access. You add your local network.
@KimbersonRafaela
@KimbersonRafaela 3 месяца назад
@@Wirenetwork Thanks
@Wirenetwork
@Wirenetwork 3 месяца назад
Welcome
@AirNet2020
@AirNet2020 5 месяцев назад
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 5 месяцев назад
did you have public static ip on your secondary Router ?
@AirNet2020
@AirNet2020 5 месяцев назад
@@Wirenetwork It was set to auto dhcp and obtained a LAN IP from the primary router
@razvanalexandru5128
@razvanalexandru5128 5 месяцев назад
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 5 месяцев назад
@@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.
@sergeypetrovsky3095
@sergeypetrovsky3095 Месяц назад
How to import all of this into OPNsense?
@Wirenetwork
@Wirenetwork Месяц назад
Just import .ovpn config file
@sergeypetrovsky3095
@sergeypetrovsky3095 Месяц назад
@@Wirenetwork In OPNsense Clients, there is no option to import an .ovpn file, at least I couldn't find one. :(
@ErafIt-m7p
@ErafIt-m7p 25 дней назад
Unsupported option (ignored): user,group,persist-tun,persist-key,connect-retry Unused options, probably specified multiple times in the configuration file: client "can you help "
@Wirenetwork
@Wirenetwork 25 дней назад
Can you share your ovpn file ?? I will find solution for you.
@ErafIt-m7p
@ErafIt-m7p 25 дней назад
@@Wirenetwork how i can send it for you
@Wirenetwork
@Wirenetwork 25 дней назад
netwatchindia@gmail.com
@ErafIt-m7p
@ErafIt-m7p 25 дней назад
@@Wirenetwork check inbox please
@Wirenetwork
@Wirenetwork 17 дней назад
Is your problem solved?
@mitchellmnr
@mitchellmnr 4 месяца назад
Just don't click OK when creating the certs, then you don't have to re-open to click sign
@Wirenetwork
@Wirenetwork 4 месяца назад
Yes brother you are right... thanks..👍
@y0utubero
@y0utubero 6 месяцев назад
Is it okay not to include Private Password Key?
@Wirenetwork
@Wirenetwork 6 месяцев назад
it's mandatory for security purposes
@Американскийшпион-й9л
what should I do, how do I add a new user certificate????
@Wirenetwork
@Wirenetwork 3 месяца назад
Send error screenshot to netwatchindia@gmail.com
@themasstech
@themasstech Месяц назад
VPN Export Option not available On OPEN VPN
@Wirenetwork
@Wirenetwork Месяц назад
Upgrade routeros version
@newtech2241
@newtech2241 3 месяца назад
I try doing guide linept but not work😢
@Wirenetwork
@Wirenetwork 3 месяца назад
Explain in detail what problem you are facing. I will help you if I can.
@madandhungana-nk9jn
@madandhungana-nk9jn 5 месяцев назад
How to find client certificate key
@abdul_rehman_9t4
@abdul_rehman_9t4 3 месяца назад
How to find client certificate keys?
@Wirenetwork
@Wirenetwork 3 месяца назад
Why find the client key?
@abdul_rehman_9t4
@abdul_rehman_9t4 3 месяца назад
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 3 месяца назад
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 3 месяца назад
In OpenVPN server settings you will get the option of Export OVPN.
@BeypinarliArici
@BeypinarliArici 8 месяцев назад
Güzel paylaşım teşekkür ler birde şu radius manager ayarlayabilsek yapamıyorum beceremiyorum
@muhammadaamir566
@muhammadaamir566 17 дней назад
Vpn connects but unable to ping local pcs...
@Wirenetwork
@Wirenetwork 17 дней назад
What's your Local Network IP subnet ?
@muhammadaamir566
@muhammadaamir566 17 дней назад
@@Wirenetwork Is there any rules for allowing into LAN interface?
@Wirenetwork
@Wirenetwork 17 дней назад
Can you ping your local gateway from the outside network after connecting vpn
@muhammadaamir566
@muhammadaamir566 17 дней назад
@@Wirenetwork yes gateway ping but local PC are not connecting .... ping of local IPs are not working,,,
@Wirenetwork
@Wirenetwork 17 дней назад
Disable your pc firewall then try again
@kennycl8171
@kennycl8171 4 месяца назад
for not woking
@Wirenetwork
@Wirenetwork 4 месяца назад
What happened??
@kennycl8171
@kennycl8171 3 месяца назад
@@Wirenetwork i don't know sir
@Американскийшпион-й9л
NOTE: --user option is not implemented on Windows NOTE: --group option is not implemented on Windows what is the reason?
@Wirenetwork
@Wirenetwork 3 месяца назад
I haven't understood what you saying ??
@Американскийшпион-й9л
@Американскийшпион-й9л 6 месяцев назад
can I throw off the config?
@Wirenetwork
@Wirenetwork 6 месяцев назад
??
@Американскийшпион-й9л
@Американскийшпион-й9л 6 месяцев назад
@@Wirenetwork adding route on config file 9:47
@Wirenetwork
@Wirenetwork 6 месяцев назад
Yes..you need to add manual route on config file...like Route 192.168.0.1 255.255.255.0
@Американскийшпион-й9л
@Американскийшпион-й9л 6 месяцев назад
@@Wirenetwork But I’m talking about the file itself, the text, can I attach it in the description?
@Американскийшпион-й9л
@Американскийшпион-й9л 6 месяцев назад
@@Wirenetwork Will this file work on PC?
@carlgustavmurto6858
@carlgustavmurto6858 3 месяца назад
crypto_alg:aes-gcm-256:not found
@Wirenetwork
@Wirenetwork 3 месяца назад
I think you made mistake during creating certificates...if it possible then watch my video again.
@odyvanmua
@odyvanmua 11 дней назад
Hello, do you have telegram, or What'sApp?
@odyvanmua
@odyvanmua 11 дней назад
I need you help me pls!
@Wirenetwork
@Wirenetwork 11 дней назад
Yes
@odyvanmua
@odyvanmua 11 дней назад
@@Wirenetwork can I have your telegram or whatsapp contacts?
@odyvanmua
@odyvanmua 11 дней назад
@@Wirenetwork or how to contact you?
@Wirenetwork
@Wirenetwork 11 дней назад
@odyvanmua netwatchindia@gmail.com
@harinsevillahn355
@harinsevillahn355 2 месяца назад
Hey buddy, i try it, but is give me connection fail, peers verification failure .
@Wirenetwork
@Wirenetwork 2 месяца назад
Mikrotik Log will help you to find the problem... Check logs
@madandhungana-nk9jn
@madandhungana-nk9jn 5 месяцев назад
How to find client certificate key
@madandhungana-nk9jn
@madandhungana-nk9jn 5 месяцев назад
How to find client certificate key
@Wirenetwork
@Wirenetwork 5 месяцев назад
No need to find it, you need to create certificate key
Далее
1 Subscriber = 1 Penny
00:17
Просмотров 52 млн
An Introduction to MikroTik RouterOS for Newbies!
47:37
1 Subscriber = 1 Penny
00:17
Просмотров 52 млн