u/Pristine-Addendum-58

[Update] FreeBSD AmneziaWG Setup: Interactive TUI Wizard, Full English Support, and AmneziaWG 3.1 Protocol

[Update] FreeBSD AmneziaWG Setup: Interactive TUI Wizard, Full English Support, and AmneziaWG 3.1 Protocol

Hi everyone,

I’ve just released a major update to the automated AmneziaWG installer and configuration tool for FreeBSD (13/14/15).

To be transparent, I built this tool with the help of AI to simplify configuring AmneziaWG (obfuscated WireGuard) on FreeBSD and share it with the community.

Key features in this update:

  • Interactive TUI Wizard: Running the script with root privileges without arguments now launches a native FreeBSD dialog wizard (bsddialog). It auto-discovers .conf files across standard directories, lets you pick the routing mode, and provides an interactive domain/subnet manager on the fly.
  • Full English Language Support: Added complete English localization alongside Russian. All dialogs, prompts, system logs, and documentation are bilingual.
  • AmneziaWG 3.1 Protocol Support (awg3-setup.sh): Added a dedicated installer for the newer AWG 3.1 protocol featuring kernel-level ChaCha20 packet header protection (HeaderProtectionKey), dynamic transport padding (ContentPaddingAddition), and random trailers to resist behavioral/AI DPI.
  • Two Dedicated Scripts:
    • awg2-setup.sh — Universal installer for AWG 2.0 / 1.0 (installs precompiled packages via FreeBSD pkg).
    • awg3-setup.sh — Automated driver source build and setup for the AWG 3.1 protocol.
  • Resilient Domain-Based Split Tunneling: Upgraded routing logic using FreeBSD static routes with multi-IP Anycast pool resolution (e.g. Cloudflare, Google), preventing dropped connections during CDN IP rotation.
  • Full rc.d Integration: Persistent boot auto-start via dedicated services (amneziawg / amneziawg3).
  • Visual Documentation: Added a step-by-step screenshot manual in docs/MANUAL.md.
  • Headless Mode: All CLI arguments (-c, -d, -i, -u) remain supported for unattended scripting.

Repository:
https://github.com/HugoFiermein/freebsd-amneziawg-setup

https://preview.redd.it/egbemcuh1hth1.png?width=1456&format=png&auto=webp&s=f88dccb7a0543538d6dd390cf9b7300ccb14dd25

Feedback, testing on different FreeBSD versions, and pull requests are very welcome!

reddit.com
u/Pristine-Addendum-58 — 11 days ago
▲ 4 r/drawio

Static connection points on image/SVG shapes are extremely hard to manage manually

Hi everyone,

I wanted to share a frustrating issue I’ve been struggling with in draw.io / diagrams.net for a long time.

My use case is building network equipment shapes from real device front-panel images: SVG, PNG, or JPEG. I need connection points to sit exactly on real Ethernet, SFP, Console, COM, or other physical ports. The important part is that these points must remain static when the shape is resized.

The problem is that doing this manually in draw.io is very difficult and unreliable. The visible “edit connection points” behavior does not seem practical for accurately placing many internal connection points on image-based shapes. In some cases the points appear to drift, snap to unexpected places, or behave as if they are tied to the perimeter rather than the actual port location inside the image.

https://preview.redd.it/v0wb2c88vp7h1.png?width=923&format=png&auto=webp&s=d65576d748d94287eb1964b7873ea1d813209bd3

I also tried reaching out directly to a representative from the draw.io team about this issue. She said she would help me with it, but in the end I never got a follow-up, so I had to keep investigating and solving it myself.

After a lot of testing, I found that the stable solution is to write the points directly into the shape style, for example:

points=[[0.25,0.5,0],[0.4,0.5,0]];

The third value, 0, is the key part. Without it, draw.io may project the connection point toward the perimeter. With it, the point can stay at its intended relative position inside the image shape.

Since placing these points manually is not practical, I ended up building an external tool for this workflow. The tool opens an SVG/PNG/JPEG device image, lets me mark the real port positions, stores the points as normalized coordinates, and exports a portable .drawio file with the image embedded and the connection points written into the style.

So the workflow became:

  1. Open one device image.
  2. Manually mark the physical port locations.
  3. Optionally align/distribute the points.
  4. Export a .drawio file.
  5. The exported shape contains native static draw.io connection points.

https://preview.redd.it/oltvhhrhup7h1.png?width=728&format=png&auto=webp&s=8da5359d17b58fa03c5c2649ccf0041d8af0f3bf

This external tool works, but I had to build a separate program because draw.io itself does not provide a convenient built-in way to do this kind of manual static point placement.

My complaint/request is: could diagrams.net provide a proper built-in way to edit internal static connection points on image/SVG shapes, including precise placement, alignment/distribution tools, and a guarantee that points won’t be projected to the perimeter when the shape is resized?

This would be incredibly useful for network diagrams, rack/device libraries, front-panel equipment shapes, industrial panels, patch panels, and any other image-based technical shapes where connection points need to match real physical ports.

reddit.com
u/Pristine-Addendum-58 — 4 months ago
▲ 11 r/drawio

Hey everyone,

I often work with network and infrastructure diagrams in draw.io, and once a diagram gets busy, tracing a single connector through a bunch of overlapping lines can get annoying fast.

So I made a small plugin called AnimateIT!.

What it does:

  • highlights the selected connector
  • makes it thicker and bright green
  • enables flow animation
  • temporarily brings the line to the front
  • restores the original style and layer order when you deselect it

https://i.redd.it/4ipvx0ud0myg1.gif

It works with:

Repo:
https://github.com/HugoFiermein/drawio-animateit

Release:
https://github.com/HugoFiermein/drawio-animateit/releases/tag/v1.3.0

It’s just a small quality-of-life plugin, but it’s been genuinely useful for messy diagrams. Maybe it’ll help someone else too.

Feedback and bug reports are welcome.

reddit.com
u/Pristine-Addendum-58 — 6 months ago