Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - PANZER

#1
Hello everyone,

I currently have a "server" with the following specifications:

- i7-6700
- 32GB RAM

HyperV runs on the server as a hypervisor with an OPNsense (24.7.12_4) and a Linux VM.

The firewall has the following interfaces:

- WAN (192.168.2.0/24) = actual home network
- LAN (192.168.100.0/24) = network where the Linux VM is located => behind the firewall
- MGMT (10.10.20.0/24) = management network, e.g., to access the GUI from the hypervisor
- OpenVPN (10.99.99.0/28) = tunnel network for OpenVPN

The VPN works fine as long as there are no demanding tasks such as RDP. However, as soon as I want to access the Linux VM via RDP, it starts to lag, i.e., the latency is very high. It is almost impossible to use the VM via RDP. So I checked the quality of the connection and found the graph in the attachment.

I have already checked/adjusted the following steps

- Set up and compared WireGuard
- Tested different MTUs
- Activated MSS fix
- Tested TCP/UDP
- Keep alive interval = 10
- Keep alive timeout = 60
- Checked VM resources => None come close to 50%
- Checked Firewall LiveLog
- Reduced RDP connection itself to 15 bits


A ping to the VM yields the following:
Ping is executed for 192.168.100.42 with 1400 bytes of data:
Reply from 192.168.100.42: Bytes=1400 Time=5ms TTL=63
Reply from 192.168.100.42: Bytes=1400 Time=10ms TTL=63
Reply from 192.168.100.42: Bytes=1400 Time=6ms TTL=63
Reply from 192.168.100.42: Bytes=1400 Time=4ms TTL=63

Ping statistics for 192.168.100.42:
    Packets: Sent = 4, Received = 4, Lost = 0
    (0% loss),
Approximate time in milliseconds:
    Minimum = 4ms, Maximum = 10ms, Average = 6ms


Excerpt from the OpenVPN client log:
⏎[Oct 26, 2025, 11:11:02] Connected via TUN_WIN
⏎[Oct 26, 2025, 11:11:02] EVENT: CONNECTED vpn.***@192.168.2.230:1194 (192.168.2.230) via /UDP on TUN_WIN/10.99.99.2/ gw=[10.99.99.1/] mtu=1500⏎

I am grateful for any response, because I am slowly running out of ideas as to what the problem could be or what I can do.
#2
German - Deutsch / OpenVPN schlechte VPN Verbindung
October 26, 2025, 11:26:44 AM
Hallo zusammen,

aktuell habe ich einen "Server" mit folgenden Specs:

- i7-6700
- 32GB RAM

Auf dem Server läuft HyperV als Hypervisor mit einer OPNsense (24.7.12_4) und einer Linux VM.

Die Firewall hat folgende Interfaces:

- WAN (192.168.2.0/24) = eigentliches Heimnetz
- LAN (192.168.100.0/24) = Netz indem sich die Linux VM befindet => hinter der Firewall
- MGMT (10.10.20.0/24) = Management Netz um z.B. vom Hypervisor auf die GUI zu kommen
- OpenVPN (10.99.99.0/28) = Tunnelnetz für OpenVPN

Der VPN funktioniert, solange es keine anspruchsvollen Aufgaben wie z.B. RDP sind einwandfrei. Sobald ich allerdings via RDP auf die Linux VM möchte fangt es an zu Laggen, sprich die Latenz ist sehr hoch. Es ist fast nicht möglich die VM über RDP zu nutzen. Ich prüfte also die Qualität der Connection und fand den Graph im Anhang.

Folgende Schritte habe ich bereits geprüft / eingestellt

- WireGuard eingerichtet und verglichen
- Verschiedene MTUs getestet
- MSS fix aktiviert
- TCP/UDP getestet
- Keep alive interval = 10
- Keep alive timeout = 60
- Ressourcen der VMs geprüft => Keine kommt annähernd an 50%
- Firewall LiveLog geprüft
- RDP Verbindung selbst auf 15 Bit runtergeschraubt


Ein Ping auf die VM ergibt folgendes:
Ping wird ausgeführt für 192.168.100.42 mit 1400 Bytes Daten:
Antwort von 192.168.100.42: Bytes=1400 Zeit=5ms TTL=63
Antwort von 192.168.100.42: Bytes=1400 Zeit=10ms TTL=63
Antwort von 192.168.100.42: Bytes=1400 Zeit=6ms TTL=63
Antwort von 192.168.100.42: Bytes=1400 Zeit=4ms TTL=63

Ping-Statistik für 192.168.100.42:
    Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
    (0% Verlust),
Ca. Zeitangaben in Millisek.:
    Minimum = 4ms, Maximum = 10ms, Mittelwert = 6ms


Auszug aus dem OpenVPN Client Log:
⏎[Oct 26, 2025, 11:11:02] Connected via TUN_WIN
⏎[Oct 26, 2025, 11:11:02] EVENT: CONNECTED vpn.***@192.168.2.230:1194 (192.168.2.230) via /UDP on TUN_WIN/10.99.99.2/ gw=[10.99.99.1/] mtu=1500⏎

Ich bin über jede Antwort dankbar, weil ich langsam nicht mehr weiß woran es liegen könnte, bzw. was ich machen kann.