1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
56db390b0f Issues With OpenVPN & MikroTik
All checks were successful
Build / build (push) Successful in 20s
2025-10-22 16:31:26 +02:00
d3692e4f75 Separate font styles 2025-10-07 12:21:09 +02:00
4 changed files with 71 additions and 24 deletions

View File

@@ -0,0 +1,45 @@
+++
title = "Issues With OpenVPN & MikroTik"
date = 2025-10-22
[taxonomies]
categories = ["Networking"]
[extra]
author = "Emil Miler"
+++
I started having issues with my an existing OpenVPN tunnel after setting up a new MikroTik router in my home network.
The symptoms were strange: I could resolve addresses through DNS, ping all hosts on the network, and access HTTP sites without issues. However, when I tried to SSH into any machine or access HTTPS services, the connection would time out.
<!-- more -->
After checking the OpenVPN logs, I discovered the issue was this:
```
read UDPv4 [EMSGSIZE Path-MTU=1460]: Message too long (fd=3,code=90)
```
In short, the encrypted packets being sent were too large.
## Fixing OpenVPN
The preferred option is to change the MTU size in the OpenVPN configuration by adding the following:
```
tun-mtu 1440
mssfix 1392 fixed
```
## Fixing MikroTik
Other option, albeit not preferred, is to set maximum MTU size on `ether1` (WAN) to 1460 from the default of 1500.
```
/interface ethernet set ether1 mtu=1460
```
Or in the GUI under `Interfaces > ether1 > MTU`.
![winbox](winbox.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

25
sass/_fonts.scss Normal file
View File

@@ -0,0 +1,25 @@
@font-face {
font-family: spectral;
font-style: normal;
font-weight: 400;
src: url("/fonts/spectral-regular.woff2") format("woff2"),
url("/fonts/spectral-regular.woff") format("woff"),
url("/fonts/spectral-regular.ttf") format("truetype");
}
@font-face {
font-family: spectral;
font-style: normal;
font-weight: 700;
src: url("/fonts/spectral-bold.woff2") format("woff2"),
url("/fonts/spectral-bold.woff") format("woff"),
url("/fonts/spectral-bold.ttf") format("truetype");
}
@font-face {
font-family: spectral;
font-style: italic;
font-weight: 400;
src: url("/fonts/spectral-italic.woff2") format("woff2"),
url("/fonts/spectral-italic.woff") format("woff"),
url("/fonts/spectral-italic.ttf") format("truetype");
}

View File

@@ -1,27 +1,4 @@
@font-face { @use "_fonts";
font-family: spectral;
font-style: normal;
font-weight: 400;
src: url("/fonts/spectral-regular.woff2") format("woff2"),
url("/fonts/spectral-regular.woff") format("woff"),
url("/fonts/spectral-regular.ttf") format("truetype");
}
@font-face {
font-family: spectral;
font-style: normal;
font-weight: 700;
src: url("/fonts/spectral-bold.woff2") format("woff2"),
url("/fonts/spectral-bold.woff") format("woff"),
url("/fonts/spectral-bold.ttf") format("truetype");
}
@font-face {
font-family: spectral;
font-style: italic;
font-weight: 400;
src: url("/fonts/spectral-italic.woff2") format("woff2"),
url("/fonts/spectral-italic.woff") format("woff"),
url("/fonts/spectral-italic.ttf") format("truetype");
}
::selection{ ::selection{
background-color: #ffffb2; background-color: #ffffb2;