{"id":346,"date":"2016-03-04T10:19:21","date_gmt":"2016-03-04T08:19:21","guid":{"rendered":"http:\/\/blog.hepc.ro\/?p=346"},"modified":"2016-10-09T10:10:39","modified_gmt":"2016-10-09T08:10:39","slug":"tutorial-port-forwarding-mikrotik-router-os","status":"publish","type":"post","link":"https:\/\/blog.hepc.ro\/?p=346","title":{"rendered":"Tutorial &#8211; Port Forwarding Mikrotik Router OS"},"content":{"rendered":"<p><a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/mikrotik.png\" rel=\"attachment wp-att-296\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-296 alignleft\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/mikrotik-150x150.png\" alt=\"mikrotik\" width=\"150\" height=\"150\" \/><\/a>\u00a0Pentru ca nu prea sunt multe informatii in romana despre mikrotik, voi incerca sa explic mai jos, o metoda simpla de port forwarding pe routerOS. Port \u00a0Forwarding este o functie\u00a0utila, prezenta pe toate routerele moderne din ziua de azi. Nu voi intra in detalii, dar pe scurt, port forwarding ne permite sa accesam un PC aflat intr-o retea locala de oriunde, pe un anumit port. Putem face o analogie in felul urmator: o strada reprezinta PC-ul, o casa de pe acea strada reprezinta ip-ul, iar numarul de usi al casei repective, reprezinta porturile.<\/p>\n<p><a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/port-forwarding.jpg\" rel=\"attachment wp-att-349\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-349\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/port-forwarding.jpg\" alt=\"port-forwarding\" width=\"562\" height=\"343\" srcset=\"https:\/\/blog.hepc.ro\/wp-content\/uploads\/port-forwarding.jpg 562w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/port-forwarding-300x183.jpg 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a>\u00a0<!--more--><\/p>\n<p>Daca avem nevoie sa accesam anumite servicii sau date de pe un pc din reteaua local de acasa (fie FTP, RDP, etc) avem nevoie de port forwarding. Sa presupunem ca vrem sa accesam de la distanta un server FTP dintr-o retea locala, de la distanta. IP-ul local este 192.168.1.100, iar portul este 21.<\/p>\n<p>In Winbox, selectam IP-&gt;Firewall<a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/ipFirewall.jpg\" rel=\"attachment wp-att-352\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-352\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/ipFirewall.jpg\" alt=\"ipFirewall\" width=\"468\" height=\"492\" srcset=\"https:\/\/blog.hepc.ro\/wp-content\/uploads\/ipFirewall.jpg 468w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/ipFirewall-285x300.jpg 285w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/a><\/p>\n<p>Mai departe selectam tabul NAT (Network Address Translation)<a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/firewall.png\" rel=\"attachment wp-att-353\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-353\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/firewall.png\" alt=\"firewall\" width=\"828\" height=\"511\" srcset=\"https:\/\/blog.hepc.ro\/wp-content\/uploads\/firewall.png 828w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/firewall-300x185.png 300w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/firewall-768x474.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/a><a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/NAT1.png\" rel=\"attachment wp-att-356\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-356\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/NAT1.png\" alt=\"NAT1\" width=\"928\" height=\"603\" srcset=\"https:\/\/blog.hepc.ro\/wp-content\/uploads\/NAT1.png 928w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/NAT1-300x195.png 300w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/NAT1-768x499.png 768w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><\/a>Aici vom apasa pe iconita albastra &#8220;+&#8221; , iar in fereastra ce apare, setam astfel: <strong>Chian<\/strong> &#8211; dstnat, <strong>Protocol<\/strong> &#8211; (6) tcp, <strong>In Interface\u00a0<\/strong>&#8211; ether1 (sau portul WAN).<a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/newnat1.png\" rel=\"attachment wp-att-357\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-357\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/newnat1.png\" alt=\"newnat1\" width=\"733\" height=\"637\" srcset=\"https:\/\/blog.hepc.ro\/wp-content\/uploads\/newnat1.png 733w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/newnat1-300x261.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/a><\/p>\n<p>Urmatorul pas il facem din tabul Action: <strong>Action <\/strong>&#8211;\u00a0dst nat,\u00a0<strong>To Addresess\u00a0<\/strong>&#8211; 192.168.1.100,\u00a0<strong>To Ports\u00a0<\/strong>&#8211; 21;\u00a0<a href=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/action.jpg\" rel=\"attachment wp-att-359\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-359\" src=\"http:\/\/blog.hepc.ro\/wp-content\/uploads\/action.jpg\" alt=\"action\" width=\"595\" height=\"399\" srcset=\"https:\/\/blog.hepc.ro\/wp-content\/uploads\/action.jpg 595w, https:\/\/blog.hepc.ro\/wp-content\/uploads\/action-300x201.jpg 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/a><\/p>\n<p>Este bine sa lasam un comment pentru regula creata, dupa care apasam <strong>Apply<\/strong> si <strong>OK<\/strong>, si suntem gata.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Pentru ca nu prea sunt multe informatii in romana despre mikrotik, voi incerca sa explic mai jos, o metoda simpla [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":296,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[63],"tags":[66,55,65,64,67,51],"class_list":["post-346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial","tag-ftp","tag-mikrotik","tag-nat","tag-port-forwarding","tag-router-os","tag-winbox"],"_links":{"self":[{"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=346"}],"version-history":[{"count":7,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":360,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/posts\/346\/revisions\/360"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=\/wp\/v2\/media\/296"}],"wp:attachment":[{"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hepc.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}