{"id":2397,"date":"2022-11-01T11:00:41","date_gmt":"2022-11-01T11:00:41","guid":{"rendered":"https:\/\/sunucucozumleri.com\/?p=2397"},"modified":"2022-11-01T09:04:13","modified_gmt":"2022-11-01T09:04:13","slug":"mikrotik-l2tp-ipsec-vpn-nasil-kurulur","status":"publish","type":"post","link":"https:\/\/sunucucozumleri.com\/blog\/mikrotik-l2tp-ipsec-vpn-nasil-kurulur\/","title":{"rendered":"MikroTik L2TP IPSec VPN Nas\u0131l Kurulur?"},"content":{"rendered":"<div class=\"text-justify\"><b>Apple<\/b>\u00a0ekosisteminde yer alan\u00a0<b>MacOS X Sierra, High Sierra, Mojave, Catalina, Big Sur ve Monterey<\/b>\u00a0i\u015fletim sistemleri, mobil tarafta ise\u00a0<b>iOS 10,11,12,13,14, ve 15\u00a0<\/b>s\u00fcr\u00fcmleri art\u0131k\u00a0<b>g\u00fcvensiz<\/b>\u00a0olarak kabul edilen\u00a0<b>PPTP VPN<\/b>\u00a0ileti\u015fim protokol\u00fc yerine daha\u00a0<b>g\u00fcvenli<\/b>\u00a0ileti\u015fim imkan\u0131 sa\u011flayan\u00a0<b>IPSec destekli L2TP VPN<\/b>\u00a0protokol\u00fcn\u00fc kullanmay\u0131\u00a0<b>\u015fart ko\u015fuyor.<\/b>\u00a0Bu yaz\u0131m\u0131zda\u00a0<b>MikroTik RouterOS<\/b>\u00a0i\u015fletim sistemine sahip cihazlar\u0131n <a href=\"https:\/\/sunucucozumleri.com\/blog\/router-nedir-router-ne-ise-yarar\/\">Router<\/a> olarak kullan\u0131ld\u0131\u011f\u0131 altyap\u0131larda,\u00a0<b>IPSec destekli L2TP VPN<\/b>\u00a0ayarlar\u0131n\u0131n nas\u0131l yap\u0131ld\u0131\u011f\u0131n\u0131 anlataca\u011f\u0131z.<\/div>\n<div class=\"notices yellow\">\n<div class=\"text-justify\"><b>NOT :<\/b>\u00a0D\u00f6k\u00fcman\u0131m\u0131zdaki anlat\u0131m\u00a0<b>RouterOS V6.44 ve sonraki s\u00fcr\u00fcmler i\u00e7in ge\u00e7erlidir.<\/b>\u00a0\u0130\u015flemlere ba\u015flamadan \u00f6nce cihaz\u0131n\u0131z\u0131n\u00a0<b>V6.44 veya daha yeni bir s\u00fcr\u00fcmde<\/b>\u00a0oldu\u011fundan emin olun.<\/div>\n<\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Makale \u0130\u00e7eri\u011fi<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\u0130\u00e7indekiler Tablosunu A\u00e7\/Kapat\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sunucucozumleri.com\/blog\/mikrotik-l2tp-ipsec-vpn-nasil-kurulur\/#1-_Adim_PPP_Profili_Olusturma\" >1- Ad\u0131m PPP Profili Olu\u015fturma<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sunucucozumleri.com\/blog\/mikrotik-l2tp-ipsec-vpn-nasil-kurulur\/#2-_L2TP_Sunucuyu_Etkinlestirme\" >2- L2TP Sunucuyu Etkinle\u015ftirme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sunucucozumleri.com\/blog\/mikrotik-l2tp-ipsec-vpn-nasil-kurulur\/#4-_Firewall_Filter_Rules_ve_NAT_Ayarlari\" >4- Firewall, Filter Rules ve NAT Ayarlar\u0131<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sunucucozumleri.com\/blog\/mikrotik-l2tp-ipsec-vpn-nasil-kurulur\/#5-_MacOS_X_icin_L2TP_VPN_Ayari\" >5- MacOS X i\u00e7in L2TP VPN Ayar\u0131<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sunucucozumleri.com\/blog\/mikrotik-l2tp-ipsec-vpn-nasil-kurulur\/#iOS_icin_L2TP_VPN_Ayari\" >iOS i\u00e7in L2TP VPN Ayar\u0131<\/a><\/li><\/ul><\/nav><\/div>\n<h4><span class=\"ez-toc-section\" id=\"1-_Adim_PPP_Profili_Olusturma\"><\/span>1- Ad\u0131m PPP Profili Olu\u015fturma<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><\/h4>\n<table>\n<thead>\n<tr>\n<th>PPP &gt; Profile Men\u00fcs\u00fcnde yeni bir profil olu\u015fturma<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-2398\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/p>\n<div class=\"text-justify\">L2TP sunucumunuzun ve VPN ba\u011flant\u0131s\u0131 i\u00e7in kullan\u0131lacak hesaplar\u0131n varsay\u0131lan a\u011f ge\u00e7idi, DNS gibi bilgilerini belirlemek i\u00e7in\u00a0<b>Winbox<\/b>\u00a0veya\u00a0<b>Webfig<\/b>\u00a0yard\u0131m\u0131 ile \u00f6rnek resimdeki gibi bir VPN Profili olu\u015fturabilir ya da, a\u015fa\u011f\u0131daki kodu kendinize g\u00f6re d\u00fczenleyip\u00a0<b>New Terminal<\/b>\u2019e yap\u0131\u015ft\u0131rarak h\u0131zl\u0131ca bir VPN Profili olu\u015fturabilirsiniz.<\/div>\n<div class=\"text-justify\">Olu\u015fturulan VPN profilinde kullan\u0131lacak\u00a0<b>\u201dlocal address\u201d<\/b>\u00a0k\u0131sm\u0131 VPN A\u011f\u0131n\u0131z\u0131n varsay\u0131lan a\u011f ge\u00e7idini temsil eder, buraya, Router\u2019\u0131n\u0131z \u00fczerinde kullan\u0131lmayan bir IP adresi yazman\u0131z\u0131 \u00f6neririz, \u00f6rne\u011fimizde varsay\u0131lan a\u011f ge\u00e7idi olarak\u00a0<b>\u201d192.168.254.1\u2032\u2018<\/b>\u00a0ip adresini kullanaca\u011f\u0131z, Profil i\u00e7erisine VPN kullan\u0131c\u0131lar\u0131n\u0131n alan ad\u0131 \u00e7\u00f6zme i\u015flemlerinde sorun ya\u015famamas\u0131 i\u00e7in bir DNS adresi de yaz\u0131lmas\u0131 gerekiyor, \u00f6rne\u011fimizde\u00a0<b>\u201dDNS Server\u201d<\/b>\u00a0k\u0131sm\u0131nda hi\u00e7 bir operat\u00f6r taraf\u0131ndan engellenmeyen Google DNS adreslerini\u00a0<b>(8.8.8.8,8.8.4.4)<\/b>\u00a0kulland\u0131k.<\/div>\n<pre><code>\/ppp profile add name=L2TP-PROFIL local-address=192.168.254.1 dns-server=8.8.8.8,8.8.4.4<\/code><\/pre>\n<h4><span class=\"ez-toc-section\" id=\"2-_L2TP_Sunucuyu_Etkinlestirme\"><\/span>2- L2TP Sunucuyu Etkinle\u015ftirme<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><\/h4>\n<table>\n<thead>\n<tr>\n<th>PPP &gt; Interface &gt; L2TP Server Ayarlar\u0131<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-2399\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur2-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur2-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur2-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur2-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur2-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur2.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/p>\n<div class=\"text-justify\">Profilimizi olu\u015fturduktan sonra, L2TP Sunucumuzun etkinle\u015ftirme i\u015flemini\u00a0<b>\u201dPPP &gt; Interfaces\u201d<\/b>\u00a0men\u00fcs\u00fcnde yer alan\u00a0<b>\u201dL2TP Server\u201d<\/b>\u00a0butonundan \u00fcstte yer alan resimdeki gibi yap\u0131n, veya etkinle\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki kodu kullan\u0131n.<\/div>\n<pre><code>\/interface l2tp-server server set enabled=yes default-profile=L2TP-PROFIL authentication=mschap1,mschap2<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>IP &gt; IPSec &gt; Policies &gt; Default Rule &gt; General Sekmesi Ayarlar\u0131<\/th>\n<th>IP &gt; IPSec &gt; Policies &gt; Default Rule &gt; Action Sekmesi Ayarlar\u0131<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><img decoding=\"async\" class=\"alignnone size-large wp-image-2400\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur3-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur3-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur3-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur3-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur3-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur3.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/td>\n<td><img decoding=\"async\" class=\"alignnone size-large wp-image-2401\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur4-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur4-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur4-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur4-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur4-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur4.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>\n<div class=\"text-justify\"><b>IP &gt; IPSec &gt; Policies<\/b>\u00a0k\u0131sm\u0131nda yer alan mavi renkli varsay\u0131lan IPSec kural\u0131n\u0131n yukar\u0131daki resimlerdeki gibi ayarlanm\u0131\u015f oldu\u011fundan emin olun, ya da a\u015fa\u011f\u0131daki kod yard\u0131m\u0131 ile varsay\u0131lan kural ayarlar\u0131n\u0131 olmas\u0131 gerekti\u011fi gibi g\u00fcncelleyebilirsiniz.<\/div>\n<pre><code>\/ip ipsec policy set [ find default=yes ] src-address=0.0.0.0\/0 dst-address=0.0.0.0\/0 protocol=all proposal=default<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>IP &gt; IPSec &gt; Peers Sekmesi Ayarlar\u0131<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-2402\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur5-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur5-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur5-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur5-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur5-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur5.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/p>\n<ul>\n<li>\n<div class=\"text-justify\"><b>IP &gt; IPSec &gt;Peer<\/b>\u00a0Men\u00fcs\u00fcne Yukar\u0131daki resimden veya a\u015fa\u011f\u0131daki kod yard\u0131m\u0131 ile resimde g\u00f6r\u00fcnen se\u00e7enekleri i\u00e7eren bir Peer kural\u0131 ekleyin,<\/div>\n<pre><code>\/ip ipsec peer add exchange-mode=main passive=yes name=l2tpserver<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>IP &gt; IPSec &gt; Identities Sekmesi Ayarlar\u0131<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-2403\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur6-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur6-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur6-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur6-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur6-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur6.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/li>\n<\/ul>\n<\/li>\n<li>\n<div class=\"text-justify\"><b>IP &gt; IPSec &gt;Identities<\/b>\u00a0Men\u00fcs\u00fcnde mavi\u00a0<b>&#8221;+&#8221;<\/b>\u00a0butonuna bas\u0131n ve a\u00e7\u0131lan pencerede yer alan\u00a0<b>&#8221;Peer&#8221;<\/b>\u00a0k\u0131sm\u0131ndan, bir \u00f6nceki ad\u0131mda olu\u015fturdu\u011funuz\u00a0<b>&#8221;Peer&#8221;<\/b>\u00a0kural\u0131n\u0131 se\u00e7in,\u00a0<b>&#8221;Auth Method&#8221;<\/b>\u00a0se\u00e7ene\u011fini\u00a0<b>&#8221;Preshared Key&#8221;<\/b>\u00a0olarak de\u011fi\u015ftirin,\u00a0<b>&#8221;Sercet&#8221;<\/b>\u00a0k\u0131sm\u0131na g\u00fc\u00e7l\u00fc bir payla\u015f\u0131lan \u015fifre yaz\u0131n,\u00a0<b>&#8221;My ID Type&#8221;<\/b>\u00a0ve\u00a0<b>&#8221;RemoteID Type&#8221;<\/b>\u00a0se\u00e7ene\u011fini\u00a0<b>&#8221;Auto&#8221;<\/b>\u00a0olarak ayarlay\u0131n ve son olarak\u00a0<b>&#8221;Generete Policy&#8221;<\/b>\u00a0se\u00e7ene\u011fini\u00a0<b>&#8221;port override&#8221;<\/b>\u00a0olarak de\u011fi\u015ftirip ayarlar\u0131 kaydedin, ya da a\u015fa\u011f\u0131daki kod yard\u0131m\u0131 ile ayarlar\u0131 otomatik olarak ekleyin.<\/div>\n<pre><code>\/ip ipsec identity add generate-policy=port-override auth-method=pre-shared-key secret=\"GUCLUBIRSIFREYAZIN\" peer=l2tpserver<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>IP &gt; IPSec &gt; Proposals Sekmesi Ayarlar\u0131<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-2404\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur7-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur7-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur7-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur7-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur7-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur7.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/li>\n<li>\n<div class=\"text-justify\">Sorunsuz bir ba\u011flant\u0131 i\u00e7in,\u00a0<b>IP &gt; IPSec &gt; Proposals &gt; Default<\/b>\u00a0kural\u0131 i\u00e7erisindeki \u015fifreleme ayarlar\u0131n\u0131\u00a0<b>&#8221;Auth Algorithms&#8221;<\/b>\u00a0se\u00e7ene\u011fini\u00a0<b>&#8221;sha1&#8221;, &#8221;Encr. Algorithms&#8221;<\/b>\u00a0se\u00e7ene\u011fini\u00a0<b>&#8221;3des&#8221;, &#8221;PFS Group&#8221;<\/b>\u00a0se\u00e7ene\u011fini\u00a0<b>&#8221;modp1024&#8221;<\/b>\u00a0olarak elle de\u011fi\u015ftirin veya, d\u00fczenlemeyi a\u015fa\u011f\u0131daki kod yard\u0131m\u0131 ile tek seferde ger\u00e7ekle\u015ftirebilirsiniz.<\/div>\n<pre><code>\/ip ipsec proposal set default auth-algorithms=sha1 enc-algorithms=3des pfs-group=modp1024<\/code><\/pre>\n<table>\n<thead>\n<tr>\n<th>PPP &gt; Secrets &gt; Yeni Kullan\u0131c\u0131 Ekleme \u0130\u015flemi<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-2405\" src=\"https:\/\/sunucucozumleri.com\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur8-970x1024.png\" alt=\"\" width=\"970\" height=\"1024\" title=\"\" srcset=\"\/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur8-970x1024.png 970w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur8-284x300.png 284w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur8-768x811.png 768w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur8-1455x1536.png 1455w, \/\/sunucucozumleri.com\/blog\/wp-content\/uploads\/2022\/11\/MikroTik-L2TP-IPSec-VPN-Nasil-Kurulur8.png 1696w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/li>\n<li>\n<div class=\"text-justify\"><b>PPP &gt; Secrets<\/b>\u00a0men\u00fcs\u00fcndeki mavi\u00a0<b>&#8221;+&#8221;<\/b>\u00a0butonu ile g\u00fc\u00e7l\u00fc \u015fifreye sahip bir kullan\u0131c\u0131 ad\u0131 olu\u015fturun,\u00a0<b>&#8221;Service&#8221;<\/b>k\u0131sm\u0131n\u0131\u00a0<b>&#8221;l2tp&#8221;<\/b>\u00a0olarak de\u011fi\u015ftirin,\u00a0<b>&#8221;Profile&#8221;<\/b>\u00a0k\u0131sm\u0131ndan anlat\u0131m\u0131m\u0131z\u0131n ba\u015f\u0131nda olu\u015fturdu\u011funuz profili se\u00e7in,\u00a0<b>&#8221;Remote address&#8221;<\/b>\u00a0k\u0131sm\u0131na PPP profili olu\u015ftururken kulland\u0131\u011f\u0131n\u0131z varsay\u0131lan IP adresi ile ayn\u0131 blokta, kullan\u0131lmayan bir IP adresi ekleyin (\u00f6rnekte 192.168.254.2 ip adresi kullan\u0131lm\u0131\u015ft\u0131r.) ve ayarlar\u0131 kaydedin. Ya da kullan\u0131c\u0131 ekleme i\u015flemini a\u015fa\u011f\u0131daki kod yard\u0131m\u0131 ile h\u0131zl\u0131ca ger\u00e7ekle\u015ftirebilirsiniz.<\/div>\n<pre><code>\/ppp secret add name=\"KULLANICIADI\" password=\"GUCLUSIFRE\" service=l2tp profile=L2TP-PROFIL remote-address=192.168.254.2<\/code><\/pre>\n<h4><span class=\"ez-toc-section\" id=\"4-_Firewall_Filter_Rules_ve_NAT_Ayarlari\"><\/span>4- Firewall, Filter Rules ve NAT Ayarlar\u0131<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<h4><\/h4>\n<div class=\"text-justify\"><b>IP &gt; Firewall &gt; Filter Rules<\/b>\u00a0men\u00fcs\u00fcnde, d\u0131\u015far\u0131dan gelen ba\u011flant\u0131lar\u0131 filtreleyen mevcut kurallar\u0131n\u0131z varsa, bu kurallar\u0131n \u00fczerinde yer alacak bi\u00e7imde\u00a0<b>&#8221;1701,500,4500&#8221; UDP<\/b>\u00a0portlar\u0131na ve\u00a0<b>&#8221;ipsec-esp&#8221;<\/b>protokol\u00fcne izin veren kurallar eklemelisiniz, ya da a\u015fa\u011f\u0131daki kodlar\u0131 kullanarak her iki izin kural\u0131n\u0131 da ekleyip, kurallar\u0131\u00a0<b>Filter Rules<\/b>\u00a0men\u00fcs\u00fcnde yer alan kurallar\u0131n en \u00fcst\u00fcne ta\u015f\u0131yabilirsiniz.<\/div>\n<pre><code>\/ip firewall filter add chain=input action=accept protocol=udp port=1701,500,4500\r\n\/ip firewall filter add chain=input action=accept protocol=ipsec-esp<\/code><\/pre>\n<div class=\"text-justify\">payla\u015f\u0131lan i\u00e7eriklere ula\u015fabilmesi ve internete \u00e7\u0131kabilmesi i\u00e7in,<b>\u00a0IP &gt; Firewall &gt; Nat<\/b>\u00a0men\u00fcs\u00fcne\u00a0<b>L2TP<\/b>\u00a0profili ve kullan\u0131c\u0131 ad\u0131nda kulland\u0131\u011f\u0131m\u0131z IP blo\u011fu i\u00e7in Masquerade kural\u0131 eklemelisiniz. Bu kural\u0131 kolay bir \u015fekilde uygulamak i\u00e7in a\u015fa\u011f\u0131daki kodu kullanabilirsiniz.<\/div>\n<pre><code>\/ip firewall nat add action=masquerade chain=srcnat src-address=192.168.254.0\/24<\/code><\/pre>\n<h4><span class=\"ez-toc-section\" id=\"5-_MacOS_X_icin_L2TP_VPN_Ayari\"><\/span>5- MacOS X i\u00e7in L2TP VPN Ayar\u0131<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<\/li>\n<li><strong>Sistem Tercihleri &gt; A\u011f<\/strong>\u00a0k\u0131sm\u0131ndaki\u00a0<strong>&#8221;+&#8221;<\/strong>\u00a0butonuna t\u0131klay\u0131n,<\/li>\n<li>Arabirim&#8217;i\u00a0<strong>&#8221;VPN&#8221;<\/strong>\u00a0olarak de\u011fi\u015ftirin,<\/li>\n<li><strong>VPN T\u00fcr\u00fc&#8217;n\u00fc<\/strong>\u00a0<strong>&#8221;IPSec \u00fczerinden L2TP&#8221;<\/strong>\u00a0olarak se\u00e7in,<\/li>\n<li>Tercihe g\u00f6re bir VPN ad\u0131 belirleyin ve yarat butonuna bas\u0131n,<\/li>\n<li><strong>Konfigurasyon<\/strong>\u00a0k\u0131sm\u0131n\u0131\u00a0<strong>&#8221;Saptanm\u0131\u015f&#8221;<\/strong>\u00a0olarak b\u0131rak\u0131n,<\/li>\n<li><strong>&#8221;Sunucu Adresi&#8221;<\/strong>\u00a0k\u0131sm\u0131na\u00a0<strong>VPN<\/strong>\u00a0kurulumu yapt\u0131\u011f\u0131n\u0131z\u00a0<strong>Router&#8217;in Statik IP adresi<\/strong>&#8216;ni yaz\u0131n,<\/li>\n<li><strong>&#8221;Hesap ad\u0131&#8221;<\/strong>\u00a0k\u0131sm\u0131na olu\u015fturdu\u011funuz VPN Kullan\u0131c\u0131 ad\u0131&#8217;n\u0131 yaz\u0131n,<\/li>\n<li><strong>&#8221;Kimlik Do\u011frulama&#8221;<\/strong>\u00a0Butonuna t\u0131klay\u0131n ve <a href=\"https:\/\/sunucucozumleri.com\/blog\/parola-saklama-uygulamalari-ve-karsilastirmalari\/\">parola<\/a> k\u0131sm\u0131na,\u00a0<strong>VPN kullan\u0131c\u0131 ad\u0131<\/strong>&#8216;n\u0131 olu\u015ftururken belirledi\u011finiz\u00a0<strong>\u015fifre<\/strong>&#8216;yi girin,\u00a0<strong>&#8221;Payla\u015f\u0131lan S\u0131r&#8221;<\/strong>\u00a0k\u0131sm\u0131na ise\u00a0<strong>&#8221;IP &gt; IPSec &gt; Identities&#8221;<\/strong>\u00a0k\u0131sm\u0131nda belirledi\u011finiz\u00a0<strong>g\u00fc\u00e7l\u00fc \u015fifreyi girin<\/strong>, ve\u00a0<strong>tamam<\/strong>\u00a0butonuna t\u0131klay\u0131n,<\/li>\n<li>Ayarlar\u0131 tamamlamak i\u00e7in\u00a0<strong>&#8221;A\u011f&#8221;<\/strong>\u00a0Sekmesindeki\u00a0<strong>&#8221;Uygula&#8221;<\/strong>\u00a0butonuna t\u0131klay\u0131n.<\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"iOS_icin_L2TP_VPN_Ayari\"><\/span>iOS i\u00e7in L2TP VPN Ayar\u0131<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li><strong>Ayarlar<\/strong>\u00a0k\u0131sm\u0131ndan\u00a0<strong>VPN<\/strong>\u00a0ba\u015fl\u0131\u011f\u0131na girin,<\/li>\n<li><strong>VPN Konfigurasyonu Ekle<\/strong>\u00a0butonuna t\u0131klay\u0131n,<\/li>\n<li>T\u00fcr k\u0131sm\u0131n\u0131\u00a0<strong>L2TP<\/strong>\u00a0olarak de\u011fi\u015ftirin,<\/li>\n<li><strong><a href=\"https:\/\/sunucucozumleri.com\/blog\/frontpage\/\">Sunucu<\/a><\/strong>\u00a0k\u0131sm\u0131na\u00a0<strong>VPN<\/strong>\u00a0kurulumu yapt\u0131\u011f\u0131n\u0131z\u00a0<strong>Router&#8217;in Statik IP adresi<\/strong>&#8216;ni yaz\u0131n,<\/li>\n<li><strong>Hesap<\/strong>\u00a0K\u0131sm\u0131na\u00a0<strong>VPN Kullan\u0131c\u0131 ad\u0131&#8217;n\u0131z\u0131, \u015eifre k\u0131sm\u0131na VPN \u015eifreniz&#8217;i, S\u0131r k\u0131sm\u0131na ise &#8221;IP &gt; IPSec &gt; Identities k\u0131sm\u0131nda belirledi\u011finiz g\u00fc\u00e7l\u00fc \u015fifreyi girin<\/strong>, ve\u00a0<strong>bitti<\/strong>\u00a0butonuna t\u0131klay\u0131n,<\/li>\n<li>Ba\u011flanmak istedi\u011finiz VPN ad\u0131n\u0131 se\u00e7in, ve ba\u011flan butonuna t\u0131klay\u0131n.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Apple\u00a0ekosisteminde yer alan\u00a0MacOS X Sierra, High Sierra, Mojave, Catalina, Big Sur ve Monterey\u00a0i\u015fletim sistemleri, mobil tarafta ise\u00a0iOS 10,11,12,13,14, ve 15\u00a0s\u00fcr\u00fcmleri art\u0131k\u00a0g\u00fcvensiz\u00a0olarak kabul edilen\u00a0PPTP VPN\u00a0ileti\u015fim protokol\u00fc yerine daha\u00a0g\u00fcvenli\u00a0ileti\u015fim imkan\u0131 sa\u011flayan\u00a0IPSec destekli L2TP VPN\u00a0protokol\u00fcn\u00fc kullanmay\u0131\u00a0\u015fart ko\u015fuyor.\u00a0Bu yaz\u0131m\u0131zda\u00a0MikroTik RouterOS\u00a0i\u015fletim sistemine sahip cihazlar\u0131n Router olarak kullan\u0131ld\u0131\u011f\u0131 altyap\u0131larda,\u00a0IPSec destekli L2TP VPN\u00a0ayarlar\u0131n\u0131n nas\u0131l yap\u0131ld\u0131\u011f\u0131n\u0131 anlataca\u011f\u0131z. NOT :\u00a0D\u00f6k\u00fcman\u0131m\u0131zdaki anlat\u0131m\u00a0RouterOS V6.44 ve sonraki &hellip;<\/p>\n","protected":false},"author":1,"featured_media":2405,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[29],"tags":[],"class_list":["post-2397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mikrotik"],"acf":[],"_links":{"self":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/2397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/comments?post=2397"}],"version-history":[{"count":0,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/2397\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media\/2405"}],"wp:attachment":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media?parent=2397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/categories?post=2397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/tags?post=2397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}