Showing posts with label mikrotik. Show all posts
Showing posts with label mikrotik. Show all posts

Step by step mikrotik firewall tutorial

Firewall or fire-wall is a system or device that allows network traffic that is considered safe for traffic through it and prevent an insecure network. Generally, a wall-fire applied in a dedicated machine, running on the gateway (gateway) between the local network and other networks. Fire-walls are also generally used to control access to anyone who has access to a private network from outside parties. Currently, the term firewall is a common term that refers to the system that regulates communication between two different networks. Can be shown in the picture below

Firewall configuration by using the Rules:

1. Run Winbox and select MAC Address that has been detected, click the Connect button. can be viewed as shown below:

Firewall by using the Filter Rules

2. Select the IP firewall, it will appear as shown below:

3. Select add and On the General tab, Chain, select forward
it will appear like the following picture
4.Due to block or divert a Url destinationnya it must be known to determine the Destination Address of a Url with a way to open the New Terminal or can use the Windows Command. Can be seen as shown below

5. Type the ping command and the Url that will be known example ping Destination Address uad.ac.id enter. Will display the IP Address.
6. Enter the Url to the Dst IP Address on New Firewall Rule window. As in the picture below:

7. In New Firewall Rule Action window, select Action Accept and then click OK.
8. Open New Terminal or Commond windows. Then ping url and see What Happens?
9. Select the IP firewall

10. Select add and On the General tab, Chain, select forward
it will appear like the following picture:


11. In Winbox menu click new terminal will display a terminal window. Then ping the site to be blocked or yahoo.com for example detik.com detik.com enter the ping command it will exit the IP Url.
12. Enter the Url to the Dst IP Address on New Firewall Rule. As shown below

13. In New Firewall Rule window select Action and the Action menu select the drop press OK.

14. Common Open windows and then ping a site that blocked earlier. Can it be pinged or not?
15. Open the browser and run the site that you’d block. Does it still can be opened or not?

Divert A Url Url to another.

16. Open a new window by selecting New Firewall IP Firewall Click the Add or signs it will come

out like the following picture:

17. Eg enter the Destination IP Address 118.97.8.18
IP is the IP of www.uad.ac.id to know the IP by clicking New terminal and type the command ping uad.ac.id or by using a common Windows commands to Start Run type cmd and then OK or press Enter. Furthermore, in eg ping ping uad.ac.id press Enter it will display the IP Url.
18. In New Firewall Rule Action select jump. At the Jump Target type with IP 118.97.8.18
IP is the IP www.ee.uad.ac.id to find out the IP network by going to New Terminal or by using the Windows Common ee.uad.ac.id type the ping command then press OK

Basic of Mikrotik RouterOS

RouterOS is the operating system and software capable of making PCs based on Intel / AMD is able to perform the function of routers, bridges, firewalls, bandwidth settings, wireless AP or client, and many other functions. RouterOS can do nearly all networking functions as well as some server functions.

Types of MikroTik.

1. MikroTik RouterOS.

MikroTik version is in the form of software that can be installed on home computers (PCs) through the CD. You can download the image file from the official website MikroTik RouterOS MikroTik, www.mikrotik.com. However, this image file is a trial version MikroTik which can only be used within 24 hours. To be able to use it full time, you must purchase a license key to record a single license key for only one hard drive.

2. Built In Hardware MikroTik.

MikroTik is in the form of hardware that is specially packaged in a board in which a router already installed MikroTik RouterOS. For this version, the license is included in the price of board MikroTik router.

Remote MikroTik.

1. Remote uses WinBox.

WinBox is an application that changes the ‘black white’ MikroTik into GUI mode is user friendly compared to other routers are still using the console mode.

2. Remote using the browser.

MikroTik condition that the computer can be remote from the browser is MikroTik already have an IP address.

3. Remote using Telnet.

You may want to use telnet remote MikroTik through application program “command prompt” (cmd) existing Windows installation. However, the use of telnet is not recommended in the network due to security issues.

4. Remotely using SSH.

If you use the Windows operating system, you will be able to remote MikroTik through ssh protocol using Putty application. However, if you’re using Linux, ssh is installed by default so you do not need anymore such applications Putty.