MikroTik Tutorial 28 - Port Forwarding

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone in this tutorial we'll be looking at port forwarding so in this diagram we'll have two segments whoever won an island so what happened in port forwarding is that say for instance this specie on this side wants to connect to the web server on the land and you have configured port forwarding what will happen is that say for instance you are low the PC to connect to the one port are the one IP using the one I P and put et et however your web services is running on a different network which is 80.2 five four and is running on port 80 and the port forwarding is what you used to achieve this so all the traffic that is coming through the network from the one port that is destined for port 8080 will be redirected to port 80 on the local network so we're going to go ahead and configure I see a similar scenario to this in the rotor and show you all it really works alright so first thing that I need to do is to access your DHCP client and you're going to go to IP dhcp client i need to know what your one IP is which is 192 168 11.1 96 all right the next step is you need to know the destination and the port that you are trying to connect to so what up here we're going to go to the DHCP server so whatever here is that of a Raspberry Pi that as an IP of 192 168 that it is that 2 5 4 and what what what we are going to set up is we are going to do a a port forwarding that redirects traffic that is coming in on port 8080 to port 80 on the Raspberry Pi because of apache web server that is running on the Raspberry Pi on port 80 so we're going to go to IP firewall and you're going to go to not add and we're going to create a new destination nut so the source IP the destination IP where the traffic is going to would be a one port so it's one ninety two dot one sixty eight dot 11.1 96 protocol is TCP and the destination port is 80 K T so this is what the you will be connecting the user will be connecting to so what we are going to do next is that the action that you are going to take is that we are going to do a destination nut so we are going to change the address that it's going to want to change that to one ninety two dot one sixty eight dot 88.2 five four and the port that we are going to redirect it the traffic to is port 80 I'm going to call this that's berry pie server you can call it advertised server all right so raspberry pie web server okay so destination address which is the one port because we are connecting from the one the destination port is port ET ET and then know that traffic will be redirected to the Raspberry Pi which as as the web server is running on port 80 of the Raspberry Pi alright so no we're going to do a test and see all of it works so we're going to open the browser and we are going to connect to one ninety two dot one sixty eight dot 11.1 ninety-six use a semicolon and then you type the port port 8080 so always use a semicolon and then put a port afterwards then enter so know if you realize what does happen is that this is the address this is address that we we went to the traffic was redirected to 192 168 eighty tattoo five four all right so so if we go back to win box we see that we have some traffic over over the port so that is really all you go about doing a port forwarding there are a lot of things that they can do with this this is just a basic use case for port forwarding but you can use this for many for many applications they printing of a video surveillance system or you might have a like an Una's or you know something on your network that you need to access external we don't want to use the same port our advertisers to import that the service is running on and that is where you'll use port forwarding to really it's really for security most of the time because they don't want anyone to know the actual port that your service is running on not to mention if it is our well-known ports a friend times your web server which is port 80 you would might want to run from redirect using a different port that's all you go about setting up port forwarding I hope you enjoy this tutorial if you haven't subscribed please remember to subscribe so that's it and thanks for watching [Music]
Info
Channel: TKSJa
Views: 153,638
Rating: undefined out of 5
Keywords: Mikrotik, routeros, router os, router, wifi ap, network, network configuration, Mikrotic router configuration step by step, wifi configuration, mikrotik setup, routerboard, Winbox, routing, networking, security, ACL, CISCO network, WISP, QOS
Id: y47y73zCrEU
Channel Id: undefined
Length: 7min 51sec (471 seconds)
Published: Fri May 26 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.