AKZN Notes

Archives for My Lazy and Forgetful Mind

Tag: Mikrotik

Configure Two ISP on Mikrotik using VLAN with Openwrt

Why ? I want to load balance on Openwrt Openclash OPENWRT on STB has only one RJ45 port Mikrotik has multiple port, so we can use vlan to route two ISP into Openwrt Mikrotik Setting Based on my current configuration, I use Ether1 as WAN2 and Ether2 as WAN1 Make sure we already setting ip> […]

MIKROTIK STATIC ROUTING GAMES SCRIPT

Perfect to be used with Load Balance script generated from https://buananetpbun.github.io/static-routing-games.html For some reason, on ROS 7.xx, IF you use it with Load Balance, mangle rule here need to be placed below said LB rule. # =================================================== # Static Routing Games Script Generator By BuanaNETPBun.Github.io # Date/Time: 6/29/2022, 9:36:25 AM # Created By: BuanaNETPBun.Github.io – […]

Mikrotik Load balance PCC + Hotspot

Script generated from https://buananetpbun.github.io/pcc.html ROS 7.X ############################################################# # LOAD BALANCING (LB) PCC SCRIPT GENERATOR # Date/Time: 6/27/2022, 1:19:22 PM # Created By: BuanaNETPBun.Github.io – fb.me/buananet.pbun # Load Balancing Method -> PCC (Per Connection Clasifier) ############################################################# /ip firewall address-list add address=192.168.0.0/16 list=LOCAL-IP comment="LB By BNT" add address=172.16.0.0/12 list=LOCAL-IP comment="LB By BNT" add address=10.0.0.0/8 list=LOCAL-IP comment="LB By […]

VLAN OpenWRT as DHCP Server/client and Mikrotik as DHCP Server/client on a Single Ethernet Port

Why ? I want to use OpenWRT on Orange Pi Zero, but OPiZ only have one ethernet port. So, how i can use that single port as dhcp server (to give internet), and dhcp client (to get internet). Mikrotik Setting Configure DHCP Server and vlan interface Configure MIkrotik DHCP server as usual, for this notes […]

Mikrotik Cheat Sheet

Cheat Sheet Map Usability Code example Filter Log Link Detail Filter Log log print where message~"the-text-you-want" and (topics~"topic-name-1" or topics~"topics-name-2") PPPOE Setup PPP>Secret Setting secret for client. If you use radius, click tab PPP Auth&Accounting instead, set it to use Radius PPP>Profiles Local Address: use ip address interface local that will be used for PPPoE […]

Freeradius + Daloapi + mikrotik

Daloapi setting install freeradius (with mysql) and daloradius daloradius need php-pear and php-db sudo apt-get install php-common php-gd php-curl php-mail php-mail-mime php-pear php-db sudo pear install db deploy daloapi from git, setting database as same with freeradius setting, make sure daloapi database migration is set. after git deployment .env.example to .env configure db credential to […]

Install FreeRADIUS & daloRADIUS on Ubuntu 20.04 + MySQL/MariaDB

taken from https://bytexd.com/freeradius-ubuntu/ with a few update to support daloRADIUS with freeradius v3.0. (as is, daloradius only support freeradius v2, and accounting will error) (TBA) add mikrotik radius client (TBA) add tutorial sqlcounter daloradius scheme to freeradius In this tutorial we’ll install FreeRADIUS on a server running Ubuntu 20.04 and configure it to work with […]