Set the tunnel device name rather than parsing it out of the log #21

Closed
opened 2026-08-17 16:57:01 -04:00 by mysticalsoap · 0 comments
Owner

aqomui writes the OpenVPN config itself (tunnel.py:write_config), and
the shipped templates already carry dev tun (e.g.
resources/ProtonVPN_config:2). Writing dev ovpn-aqomui instead means the
interface name is known rather than discovered -- no parsing, under DCO or
not.

This supersedes the regex added in #15. That fix is correct as a stopgap, but it
invests in parsing output we do not have to produce, and deletes the entire
"device detection" bug class for a few lines.

Check first whether a fixed name interacts badly with multiple concurrent
tunnels -- the bypass runs a second OpenVPN process, so the name needs a suffix
per tunnel rather than being a single constant.

aqomui writes the OpenVPN config itself (`tunnel.py:write_config`), and the shipped templates already carry `dev tun` (e.g. `resources/ProtonVPN_config:2`). Writing `dev ovpn-aqomui` instead means the interface name is **known** rather than discovered -- no parsing, under DCO or not. This supersedes the regex added in #15. That fix is correct as a stopgap, but it invests in parsing output we do not have to produce, and deletes the entire "device detection" bug class for a few lines. Check first whether a fixed name interacts badly with multiple concurrent tunnels -- the bypass runs a second OpenVPN process, so the name needs a suffix per tunnel rather than being a single constant.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mysticalsoap/aqomui#21
No description provided.