Skip to content
www.mytechnote.ru
Menu
  • Administration
    • Scripts
  • Equipment
    • Reviews
    • Instructions
  • Other
  • English
    • English
    • Русский
Menu

MikroTik: Why Websites Won’t Load with WireGuard or other VPN connection? MTU Issue Solution

Have you encountered an issue where, despite successful pings, certain websites won’t load when using a VPN connection between MikroTik devices, such as WireGuard, with partial traffic routing? The reason could be incorrect MTU settings.

Problem:

When setting up a tunnel and routing only part of the traffic, some websites may fail to load, even though pings are successful.

Solution:

In my case, adjusting the MTU settings solved the issue. Thanks to a discussion on Habr, it became clear that MTU settings were causing the problem, and the correct adjustment restored stable connectivity.

Run the following commands on your MikroTik device to adjust MTU:

/ip firewall mangle
add action=change-mss chain=forward new-mss=clamp-to-pmtu out-interface=WireGuard protocol=tcp tcp-flags=syn

Change WireGuard to your VPN interface name.

Conclusion:

Setting the correct MTU is essential for a stable VPN connection on MikroTik. Proper MTU configuration can prevent website loading issues and optimize network performance.

Posted on 07.11.202407.11.2024 by sanglyb

Post navigation

← How to Combine All Windows Logs into One File: A Simple Guide
How to Find Emails in Exchange by Keyword in All Mailboxes →

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Подписывайтесь

Youtube
vk
telegram
github
twitter
rss
  • Форум
  • Об авторе
  • Поддержать автора

Популярные записи

Новые записи

  • How to Extend an LVM Partition in Linux
  • SCCM Reporting Errors After Migrating from SQL Server 2016 to 2019
  • Problem Using PassFiltEx on Older CPUs
  • How to remove attachments from old calendar events in Exchange using a script
  • How to download and install Office 2024 LTSC

Архивы

  • 2026 (3)
  • 2025 (5)
  • 2024 (7)
  • 2023 (30)
  • 2022 (4)
  • 2020 (17)
  • 2017 (82)
  • 2016 (5)
© 2015-2026 www.mytechnote.ru
Использование материалов сайта возможно только с разрешения владельца или обязательна индексируемая, прямая, передающая вес ссылка на материал.