Mikrotik – Usefull commands

Published on Author gryzliLeave a comment

Here are some usefull mikrotik commands: Check the route for a given IP

Print all ip addresses

 

Mikrotik – Configure BGP (eBGP) for a given network

Published on Author gryzliLeave a comment

I assume the following setup: Router1 (Some external router) , with AS: 65532 Mikrotik router (our internal router) , with AS: 65535 Network prefix: 1.1.1.1/24 , delegated to AS 65535 (our internal router) Router1.IP == 1.1.1.1/24 Mikrotik.IP == 1.1.1.2/24 =============================== 1. Enable BGP on the Mikrotik router

  2. Add our network to BGP… Continue reading Mikrotik – Configure BGP (eBGP) for a given network

Mikrotik – Mikrotik Configuring IPIP (IPv4) tunnel

Published on Author gryzliLeave a comment

Here are the steps to create simple IPIP tunnel using Mikrotik CLI console. In the following example I suppose the following setup: Tunnel: IPIP Public IP addresses: Mikrotik public ip: 5.5.5.1 Work computer public ip: 20.20.20.1 IPIP Tunnel Internal ip addresses: Mikrotik IPIP ip address: 1.1.1.1/24 Work computer IPIP ip address: 1.1.1.1/24   Also I suggest, that you… Continue reading Mikrotik – Mikrotik Configuring IPIP (IPv4) tunnel

Mikrotik – Optimizing Wi-Fi performance

Published on Author gryzliLeave a comment

I was getting very bad Wi-Fi speeds with my Mikrotik 951G-2HnD routerboard. Here are the few steps I executed and got really better performance while connecting through Wi-Fi to the internet. Choose the least used channel frequency I have Android based phone, where I was able to install WiFi Analyzer, which helped me decide which… Continue reading Mikrotik – Optimizing Wi-Fi performance

Mikrotik – Managing Firewall by CLI / command line

Published on Author gryzliLeave a comment

Managing Mikrotik firewall through CLI/SSH interface Change firewall rule order One of the bad things in Mikrotik firewall is that when you add new rule, it’s automatically applied at the end of the chain, which in most of the times has NO EFFECT. So you need to fine-tune your rule position in order to make… Continue reading Mikrotik – Managing Firewall by CLI / command line

Mikrotik – Configuring OpenVPN Server + Linux client

Published on Author gryzliLeave a comment

The first thing we must assure is the following: – We have working configuration on our Mikrotik router (internet access + local network) – We have generated SSL certfificate/key pair for the OpenVPN server   Import SSL Certificates + Root CA on the router We can use FTP to upload the following files: – cacert.pem… Continue reading Mikrotik – Configuring OpenVPN Server + Linux client