Mikrotik IPv6 Configuration

Configuring IPv6 firewall with Mikrotik

I switched to an internet provider that gives the IPv6 addresses, here’s what I had to do on the Mikrotik router to provide the functionality to the clients My WAN interface is called wan

Disable RA by default

I am disabling the RA by default and will be enabling by subnet later

/ipv6 nd set [ find default=yes ] disabled=yes
/ipv6 dhcp-client add add-default-route=yes interface=wan pool-name=ipv6pool request=prefix

Configuring Bind 9 Slaves with TSIG Keys

In this example I will show a configuation that uses slaves with the views (internal and external). Create the keys. You need one key per view. The key generated by confgen is displayed on the screen, you need to copy/paste this key into a configuration file in /etc/bind, I use -b 512 to generate a stronger key, for no specific reason root@dns1:~# rndc-confgen -b 512 # Start of rndc.

Grep with header

Everybody Linux administrator knows how to use grep command to filter the output of interest. Unfortunately when grep is used the header line is lost, which sometimes is very useful. Below is the implementation of hgrep command that outputs the header as well