Setting up IPv6 on MikroTik at Hetzner
As network technology grows and the need for better performance increases, using IPv6 on MikroTik servers has caught the attention of many IT specialists. With its advanced features, IPv6 improves how your network performs. In this guide, we’ll set up IPv6 together on a MikroTik server hosted at Hetzner.
How it works at Hetzner
Unlike servers in Iran, a Hetzner MikroTik server isn’t given an IPv6 gateway, but a single command in the MikroTik terminal takes care of that. Let’s walk through it.
Install the IPv6 package
First, check your current RouterOS version. If it’s lower than 7.13, upgrade to a newer version or upload the IPv6 package through the Files section and install it. Then follow the steps below.
Enable IPv6 on MikroTik
Once IPv6 is installed, an IPv6 item appears in the left-hand menu. Open it, go to Settings and make sure Disable IPv6 is unchecked (as shown below).

Add your IPv6 address
With IPv6 enabled, add the IPv6 block you were given (usually a /64) to your MikroTik server. In the left-hand menu, choose IPv6 > Addresses (as shown below).

Click Add at the top left, enter your IPv6 address with /64 in the Address field, then click Apply.

Add the IPv6 gateway
For the MikroTik router to use IPv6, you now need to add an IPv6 gateway. Run the following command in your MikroTik terminal:
/ipv6 route
add distance=1 dst-address=2000::/3 gateway=fe80::1%ether1
To confirm your server is connected over IPv6, ping one of Google’s IPv6 DNS servers from your server‘s terminal. The output should look like the image below.
ping 2001:4860:4860::8888
ping 2001:4860:4860::8844

Conclusion
Congratulations, your Hetzner MikroTik server is now connected over IPv6. Adding IPv6 to your server improves network performance and flexibility and keeps you ready for new technology. Thanks for following this guide on the Mizbandade blog.


بسیار کامل و جامع توضیح دادین ممنون