Skip to main contentdfsdf

Home/ v4xvgxe526's Library/ Notes/ SSTP – VPN MIKROTIK TUTORIAL [ENG SUB]

SSTP – VPN MIKROTIK TUTORIAL [ENG SUB]

from web site

 

VPNGoupCom Herkes çevrimiçi güvenlik ve gizlilik konusunda endişe ve kişisel bilgilerini ve tarama alışkanlıkları ortaya istemiyoruz, VPN harika bir çözüm

 

 

Good day Guyswelcome again once more on Mikrotik Indonesia channel Youtube Channel that should deliver ideas and tricksabout Mikrotik this time I will continuetutorial collection on VPN on past videothat provided by my good friends 1st video clip there was a VPN introduction then There's PPTP then for your nextI will demonstrate about SSTP or Safe Socket Tunneling Protocol ahead of continue on the online video clarification do not forget that you should Subscribe then click on the bell button so you getthe newest video updates from us there are plenty of methods or approaches to make a VPN networkor Digital Non-public Community from the former videoalready described about PPTP or Level to Stage Tunneling Protocol In this particular tutorialI will test to make a simulation how we are able to use SSTP or Protected Socket Tunneling Protocol what is actually the real difference?conceptually comparable to PPTP i are going to be describe for two mechanisms two samples of implementation which will be made an effort to do the very first is Site to Web site VPN this technique is usually usedto connect involving 2 sites that's not possible to work with Actual physical connections for instance by now diverse islands or different nations around the world if in the former online video using PPTP now we make use of the SSTP technique In addition to that we might also use SSTPfor the mobile consumer but for SSTP not as flexible as PPTP since for now not all running units supply SSTP Client element Quickly I can make a simulation with a topology similar to this should you concentrate or Formerly have not witnessed the PPTP video tutorial make sure you look for this channel because the topology that I use now is similar the shape is similar the real difference is only the style or tunneling method that may be utilized particularly SSTP the initial step for both of these websites must be linked would not have to utilize the same ISP for the reason that in Every single region it should be distinctive Different ISPs, General public IPs may also be differentnot a challenge due to the fact if you use this SSTP methodcan still be related nevertheless server and shopper use distinct General public IPs the term is different segments then for each office each also incorporates a LAN community the goal is amongst these LANs if you want to speak if the assumption is site A and web page B or Office environment A and Office environment B thisthe location has different islands or unique nations around the world we can't use Bodily connections any longer or afterwards we can easily use optical fiber at a really high-priced Expense or consider quite a long time hence This VPN process is a person solutionfast and maybe low cost if both equally websites are linked to the online world in the picture, there are two routers Router1 is a simulation at the head officeor Workplace A There are more One more router before me acting as Workplace B or to be a department office the method we have to do initially is due to the fact We've to connect to the online world we must do The fundamental configuration if you continue to doubt ways to do primary configuration you'll be able to study within the videostart the basic Mikrotik configuration on this channel remember to find the video clip how is how can equally sites of each Workplace be linked to the online market place mainly because in making a VPN connectionwe use the internet community being a virtual interface now i configure it for Connection to the internet around the Business office B router or in this article acts as a department Business here you may see the RB951Ui-2HnD Routerwhich is utilized as being a simulation in the department Office environment router you can use any type of Mikrotik router as a consequence of tips on how to configure the Mikrotik Routereverything is nearly the identical for instance I take advantage of two connections There exists a WAN There's a LAN also then around the community I transpire to later on for WAN connections applying DHCP Consumer so in this article I really have to set the DHCP client By the way the Connection to the internet employs ether1 right here has received an IP tackle far too then for LAN relationship I exploit ether2 things like this are still Portion of basic configuration this a person is for WAN IPand The underside for LAN IP or nearby community to make it simpler for me to configure I will add on LAN with DHCP Server we are able to enter in the IP menu then DHCP Server below to configure itMy laptop computer connects to Ether2 I set acquire IPso using the DHCP Server so my laptop computer getsAutomatic IP Handle and now my laptop computer is gettingIP Deal with 192.

168.

30.

254 soon after this area is completed don't forget the configurationfor NAT firewalls or scrub NAT masquerade for Out.

The interface contributes to ether1 In case you are however puzzled and Uncertain for standard configurations like this be sure to learnin The essential configuration online video on this channel for the reason that We now have talked about in additional detailon the movie if this configuration is finish this time I shown the configuration in one Workplace due to configuration in Business Aalso the exact same configuration don't overlook to give the title of the routeron the technique-id menu such as https://vpngoup.com I named this router is Place of work B so later on there will be Office Aand also Place of work B the next phase we configure for the SSTP Server we configure the router in Workplace A I took place to get geared up a router which works by using IP Address 192.

168.

128.

05 which acts as Business A for VPN configuration on Mikrotik equipment every thing is over the PPP menu so we could enter the PPP menuon the highest still left around the Interface tab we are able to lookup there are various buttons there is a PPTP Server, There's a SSTP Server, L2TP Serverand also OpenVPN Server for PPTP talked over within the preceding movie then this time We're going to discussabout SSTP Server to configure it is actually listed here whenever we configure it we click on the SSTP Server button the Screen is not Significantly different from when configuring PPTP Server we Check out this Empower then our profile selects default encryption Alright With this SSTP Server configurationlater we are specified a option to choose a Certificate one particular variance that could be noticed in between PPTP and SSTP on SSTP we can easily use SSL Certificate for Encryption choices if PPTP takes advantage of TCP port 1723 and you can find alternatives at some ISPsblock the port alternatively we can use SSTP which utilizes the default port 443 This port 443 is similar to the one employed for the https Web-site so it's totally unlikelyto be blocked by an ISP by way of example PPTP can not be executed we could try out another substitute, SSTP through the use of a certificate or not employing a certification In the event the device works by using a similar Mikrotik We'll try out the just one without the need of certification let us test 1st withnot make use of a certification we Check out to permit SSTP Servicethen click on Alright for the following techniques to produce a VPN we really have to make authentication Therefore the Services aspect needs to make Strategies here There exists an account for sucrets we will insert or use this existing a person for generating techniques similar to PPTPor A different type of VPN for that experiment this time I selected the services specifically to SSTP we may select PPTP when developing a PPTP server or can also pick any to make sure that afterwards it may be used for every type of VPN do not forget also to determineLocal and Distant Address This is certainly some IP deal with which is able to be put in once the SSTP servicecan be connected One example is, for a neighborhood addressI give IP address 10.

2.

two.

one then for that remote addressusing IP handle ten.

2.

2.

two for this element ensure it is a habit to usePrivate IP address which may not are already put in beforeon the router so that it'll be easierto control the IP handle for generating buyers can alter one example is, it involves greater than one userwe can do it by introducing strategies like The underside similar to this Or perhaps only use 1 userdepending on individual requirements for SSTP Server configuration just as simple as This is certainly plenty of and remember to activate the profile during the secretto decide on default encryption the makes use of for encryptingduring data transactions Therefore if you will find queries”Safe and sound or not utilizing a VPN?” the info must be safe because the information is encrypted for the reason that we choose the default-encryption profile This is actually the configuration with the SSTP server router or Business A then we swap to client configuration or Place of work B Business office B We are going to specify as SSTP Customer I've now remotely router for Business office B will not pass up the router steps for configuration are Nearly a similar first we enter the PPP menu we Check out first to connect to the server can pingto the general public IP deal with or not how to enter the terminal menuthen do ping Ping 192.

168.

128.

a hundred and five with the experiment this timeI simulate this 192.

168.

128.

one hundred and five is usually a Public IP for an Office A Server then we enter now witnessed reply suggests we will connect to the server's IP handle then we make the SSTP consumer we enter the PPP menu from the Interface tab then we insert the SSTP Customer suppose I provide a name with sstp-Centre then to the tab dial out with the Hook up with parameterwe fill in the general public IP that is definitely within the server this time we use 192.

168.

128.

a hundred and five then An important is definitely the Consumer parameter the server settings were being previously madewith person name1 then my password is “take a look at” for some time because of usnot use a certification we will disable this parameter Confirm Server Tackle From Certificate we can easily use this parameter When the certification the client and server by now exists then we click Okay It ought to be that this SSTP relationship has actually been founded or the username and password are effectively filled then the R flag will appearin front of this interface if it's been shaped similar to this concerning internet site A and internet site B as though you have already got a immediate link employing VPN Despite the fact that bodily circuitously connected This SSTP interface will even have an IP handle specified to the server side we can easily attempt to examine the IP-Deal with menu later on a different IP will show up over the sstp-Centre interface This IP address is presented routinely from Insider secrets settings on the server so we needn't configure the IP addressManually after the IP handle around the interface has appeared to connect involving LANs on the two sites or can be related then we have to include static routing 1st we enter the IP menu then enter the Routes menu as well as the IP deal with in office A is 172.

16.

one.

0 so this time I am able to include to route-list I increase it by pressing the + signal Etc.

We enter the IP handle 172.

sixteen.

one.

0/24 Gateway parameters can use IP addresses such as we fill in IP 10.

two.

two.

one Here is the IP handle of the VPN interface for the reason that this VPN we will also or A part of the PPTP class then we can fill from the Gatewaywith the SSTP interface exclusively only relates to VPN if Bodily interfaces can't by way of example we employed itGateway IP Handle 10.

two.

two.

one then the Route will surface with US flags remember to make the return path routing this is routing from Business office B to Workplace A LAN from Office environment A to LAN Workplace Bstatic routing must also be produced we really need to enter the router in Office environment A We now have entered the Workplace A router will also mechanically look latera new interface within the PPP menu in accordance with the name of the username then the IP deal with may even appearon the SSTP interface so we could just help it become during the IP-Routes menu we include new with Dst.

The handle could be the IP of the Office environment LAN B 192.

168.

thirty.

0/24 We fill during the gateway ten.

2.

two.

two then we simply click OK Routing is by now built we could try out to examine within the Workplace A router we open up New Terminal then we try to ping 192.

168.

thirty.

one we try to ping once again to my laptopwith IP 192.

168.

thirty.

245 glimpse can now we could also Ping from Office environment B incidentally my notebook is really a clientfrom LAN Business office B to ensure that my place is in the Place of work LAN B if I open up a completely new Terminal with a Laptop by way of example I Ping to 172.

16.

one.

1 look can currently which means between LAN in office A and Office environment Balready in a position to communicate we can use this kind of communication to obtain the server at the head Business or maybe You will find there's CCTV system, File Sharingetc to make sure that these LANs can share resources Sharing connections for servers, such as, at a branch Business office, there aren't any this sort of facilities we can use functions like this This configuration is analogous to PPTP within the earlier video clip the main difference is barely while in the tunneling strategy now We are going to test Imagine if we use certificates if we did an experiment earlierwithout making use of certificates the first step we will check in Workplace Awhich acts like a Server we can Look at over the PPP menu Lively Connections tab It's going to be seen working with AES256 encoding if the former PPTP strategy encodes it takes advantage of MPPE default if now the SSTP strategy uses AES256 encoding later on we can improve this encoding or we are able to improve this encryption through the use of SSL Certificates as We've got viewed beforeabout SSL Certificates we will make Self Signed SSL Certificatesand we could make it free of charge Ways to? the way we could make it on Linuxwith OpenSSL Microtic units are furnished a Device for us to be able to make SSL certificates what way? how do we enter the Process menu then we enter into the sub menu Certificates so this menu is accustomed to makeSSL certificates themselves by using Mikrotik if in fact we don't have Linux to build with Open SSL on this Certificates menu we can easily add there are very important parameters like Nameand Popular Title but we can also fill in every one of the parameterswe make CA initial we make CA-Templateand I enter the Country ID and we are able to enter knowledge absolutely By way of example, I fill in the Firm Citraweb By way of example, I fill from the Unit Complex Assistance for your Typical Name parameter we have to fill inside the IP deal with of our Router 192.

168.

128.

a hundred and five then click on Utilize in addition to creating CA certificates, we must develop a Server then Consumer for example we produce Server-Templates the parameters down below we fill the same as ahead of I fill within the Popular Nameserver we ensure it is yet again for clients and we may make multiple if we have more than one shopper by way of example, I will create Customer-Template I fill while in the Country ID I fill while in the Point out of Yogyakarta then fill in additional depth and total then I fill while in the Technological Help Unitand I enter the Popular Name Client after you will find 3 certificates madethere are CA, Server and Consumer then we should do Self Check in we enter New Terminal for the reason that on Mikrotik there's no GUI menu we are able to make use of the CLI to perform Self Signedthe certificates the way we do with the command”certificates indication” then we sort the title with the certificatefor example, I test the CA first the command is such as this then I give the name myCAcertificates if the method has completed, a description will show up within the certificates menu with flag below we can easily see the KLAT flagK-non-public key, L-ctrl, A-authority, T-trushted then we will do the Self Check in processfor Server and Customer we enter during the Terminal I try and server to start with we Visit the name ca that We've produced just before then we give the identify, by way of example, would be the server It ought to be pointed out that typing the command here is Case Sensitive such as, ahead of I built myCA applying lowercase letters and below You can find an outline of your mistake due to the fact just before I manufactured it with all cash letters as well as command below doesn't discover the spot file so Within this 2nd move I am able to change applying uppercase letters and now the flag description appearson menu certificates the final is for your Customer we variety Command “certificates sign” then we enter ca = myCA and I give identify = shopper so In fact the Check in procedure is doneand the KA flag facts seems but for Shopper and server certificates there isn't any Reliable info how to help make these certificates reliable? we may make arrangementsthrough the Command Line Interface we form “dependable certificate established shopper = y” we do the identical for certificates serverby typing “trustworthy certificate established server = y” making sure that later the flag description will surface around the Certificates menu which has a T flag which means Trustworthy if It is arrived here then we can easily use it for SSTP certification wants due to the fact I created these certificates to the Server router so it will likely be saved to the router server following we signed signed certificatedand present trusted information we are able to export these certificatesfor us to import on the client the way we use the CLI While using the command”certification export = certification” starting point I export myCA firstand I gave a passphrase Yet another one I have to exportfor the client certificate we will export the outcome to the Files menuand you'll find 2 file types, namely * .

crt and * vital we are able to obtain these 4 files which afterwards we could import to the client router I have saved it to my Computer system desktopthere are a number of documents viewed in this article, there are * .

key and * crt then we enter the Workplace B routeror in to the Client router on this router consumer we uploadfor the certificate file that We've created the way is we upload the file for the Files menu I select all filesfor anyone who has the * crt and * .

important extensions Just about every has 2 data files myCA has two filesand the shopper also has * .

crt and * .

critical following that we simply click open up already observed entering here if It really is already while in the Data files menuthen we enter the Certificates menu problems to the router shopper have no certificateswe can perform import we can easily do import certificatesfirst possible for myCA 1st then we import remember to import * .

vital also for myCA filesso that it may be reliable import far more certification

v4xvgxe526

Saved by v4xvgxe526

on Apr 17, 20