Skip to content

docs: proofread OpenVPN with LDAP lab - #2312

Closed
eli-sterling wants to merge 1 commit into
vyos:rollingfrom
eliware:docs/openvpn-ldap-proofread
Closed

eli-sterling wants to merge 1 commit into
vyos:rollingfrom
eliware:docs/openvpn-ldap-proofread

Conversation

@eli-sterling

@eli-sterling eli-sterling commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Change Summary

  • Proofread the OpenVPN with LDAP lab and record the proofread date.
  • Correct the Active Directory forest creation and restart steps, LDAP bind account, and test credential placeholders.
  • Add the required auth-user-pass step for standalone OpenVPN clients and use current matching data cipher settings.
  • Remove the stale static client certificate dump, correct server interface commands, and remove an unrelated route.
  • Clarify that the LDAP example uses plaintext LDAP and test-only credentials.

Related Task(s)

Documentation-only change; no task required.

Related PR(s)

Backport

Checklist:

Checks

  • Focused documentation linter: passed.
  • Full Sphinx HTML build: passed without warnings for the changed page.
  • git diff --check: passed.

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: 0a59e8f6-fa73-4ecf-b933-82b577d07110

📥 Commits

Reviewing files that changed from the base of the PR and between 21ba73b and f35ccf6.

📒 Files selected for processing (3)
  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
  • docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config
  • docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ovpn-server.conf
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (2)
  • GitHub Check: Mergify Merge Protections
  • GitHub Check: Summary
⚠️ CI failures not shown inline (4)

GitHub Actions: AI Validation / 0_validate.txt: docs: proofread OpenVPN with LDAP lab

Conclusion: failure

View job details

##[group]Removing auth
 Removing SSH command configuration
 [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
 [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
 Removing HTTP extra header
 [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
 [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
 Removing includeIf entries pointing to credentials config files
 [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
 includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git.path
 includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git/worktrees/*.path
 includeif.gitdir:/github/workspace/reviewer/.git.path
 includeif.gitdir:/github/workspace/reviewer/.git/worktrees/*.path
 [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git.path
 /home/runner/work/_temp/git-credentials-249f0449-64b3-4c81-8e04-8c6d8ff34204.config
 [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git.path /home/runner/work/_temp/git-credentials-249f0449-64b3-4c81-8e04-8c6d8ff34204.config
 [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git/worktrees/*.path
 /home/runner/work/_temp/git-credentials-249f0449-64b3-4c81-8e04-8c6d8ff34204.config
 [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git/worktrees/*.path /home/runne...

GitHub Actions: AI Validation / validate: docs: proofread OpenVPN with LDAP lab

Conclusion: failure

View job details

##[group]Removing auth
 Removing SSH command configuration
 [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
 [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
 Removing HTTP extra header
 [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
 [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
 Removing includeIf entries pointing to credentials config files
 [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
 includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git.path
 includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git/worktrees/*.path
 includeif.gitdir:/github/workspace/reviewer/.git.path
 includeif.gitdir:/github/workspace/reviewer/.git/worktrees/*.path
 [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git.path
 /home/runner/work/_temp/git-credentials-249f0449-64b3-4c81-8e04-8c6d8ff34204.config
 [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git.path /home/runner/work/_temp/git-credentials-249f0449-64b3-4c81-8e04-8c6d8ff34204.config
 [command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git/worktrees/*.path
 /home/runner/work/_temp/git-credentials-249f0449-64b3-4c81-8e04-8c6d8ff34204.config
 [command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/vyos-documentation/vyos-documentation/reviewer/.git/worktrees/*.path /home/runne...

GitHub Actions: AI Validation / 1_prepare.txt: docs: proofread OpenVPN with LDAP lab

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m# Fetch the base branch explicitly by refname to avoid ambiguity with�[0m
 �[36;1m# same-named tags (e.g., a `rolling` tag), then diff against FETCH_HEAD.�[0m
 �[36;1mgit fetch --no-tags --depth=1 origin "refs/heads/rolling"�[0m
 �[36;1mBASE="FETCH_HEAD"�[0m
 �[36;1m# --diff-filter=ACMRT excludes Deleted entries so the bundling�[0m
 �[36;1m# loop below (`git show HEAD:<path>`) doesn't try to extract�[0m
 �[36;1m# blobs for files that no longer exist in the merge ref.�[0m
 �[36;1m# Deletions still appear in diff-md.patch (full diff) but not�[0m
 �[36;1m# in changed-md.txt (which drives the bundling step).�[0m
 �[36;1mgit diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- ':(glob)docs/**/*.md'  > changed-md.z�[0m
 �[36;1mgit diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- ':(glob)docs/**/*.rst' > changed-rst.z�[0m
 �[36;1m# Reject paths containing line-disrupting control bytes (LF, CR,�[0m
 �[36;1m# other 0x01-0x1F + 0x7F) before generating the newline-delimited�[0m
 �[36;1m# *.txt manifests. NUL itself can't appear in a git pathname�[0m
 �[36;1m# (it's the on-disk tree-entry terminator), so it stays out of�[0m
 �[36;1m# the rejection class and remains the legitimate record delimiter�[0m
 �[36;1m# for `git diff -z` — `grep -z` honors that contract.�[0m
 �[36;1m#�[0m
 �[36;1m# POSIX filesystems generally allow LF/CR in filenames and git�[0m
 �[36;1m# stores them fine; the hazard is purely in our line-delimited�[0m
 �[36;1m# downstream tooling. Without this guard, `tr '\0' '\n'` on a�[0m
 �[36;1m# path like `docs/foo\nbar.md` would split it into two logical�[0m
 �[36;1m# lines — downstream consumers reading line-by-line would miss�[0m
 �[36;1m# validation coverage on the real file (or worse, act on a�[0m
 �[36;1m# synthetic path). Fail fast at this seam.�[0m
 �[36;1m#�[0m
 �[36;1m# An earlier `tr -d '\0\n\r' | grep [\x00-\x1F\x7F]` form�[0m
 �[36;1m# stripped the very bytes it was m...

GitHub Actions: AI Validation / prepare: docs: proofread OpenVPN with LDAP lab

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m# Fetch the base branch explicitly by refname to avoid ambiguity with�[0m
 �[36;1m# same-named tags (e.g., a `rolling` tag), then diff against FETCH_HEAD.�[0m
 �[36;1mgit fetch --no-tags --depth=1 origin "refs/heads/rolling"�[0m
 �[36;1mBASE="FETCH_HEAD"�[0m
 �[36;1m# --diff-filter=ACMRT excludes Deleted entries so the bundling�[0m
 �[36;1m# loop below (`git show HEAD:<path>`) doesn't try to extract�[0m
 �[36;1m# blobs for files that no longer exist in the merge ref.�[0m
 �[36;1m# Deletions still appear in diff-md.patch (full diff) but not�[0m
 �[36;1m# in changed-md.txt (which drives the bundling step).�[0m
 �[36;1mgit diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- ':(glob)docs/**/*.md'  > changed-md.z�[0m
 �[36;1mgit diff "$BASE...HEAD" --name-only --diff-filter=ACMRT -z -- ':(glob)docs/**/*.rst' > changed-rst.z�[0m
 �[36;1m# Reject paths containing line-disrupting control bytes (LF, CR,�[0m
 �[36;1m# other 0x01-0x1F + 0x7F) before generating the newline-delimited�[0m
 �[36;1m# *.txt manifests. NUL itself can't appear in a git pathname�[0m
 �[36;1m# (it's the on-disk tree-entry terminator), so it stays out of�[0m
 �[36;1m# the rejection class and remains the legitimate record delimiter�[0m
 �[36;1m# for `git diff -z` — `grep -z` honors that contract.�[0m
 �[36;1m#�[0m
 �[36;1m# POSIX filesystems generally allow LF/CR in filenames and git�[0m
 �[36;1m# stores them fine; the hazard is purely in our line-delimited�[0m
 �[36;1m# downstream tooling. Without this guard, `tr '\0' '\n'` on a�[0m
 �[36;1m# path like `docs/foo\nbar.md` would split it into two logical�[0m
 �[36;1m# lines — downstream consumers reading line-by-line would miss�[0m
 �[36;1m# validation coverage on the real file (or worse, act on a�[0m
 �[36;1m# synthetic path). Fail fast at this seam.�[0m
 �[36;1m#�[0m
 �[36;1m# An earlier `tr -d '\0\n\r' | grep [\x00-\x1F\x7F]` form�[0m
 �[36;1m# stripped the very bytes it was m...
🧰 Additional context used
🧠 Learnings (8)
📚 Learning: 2026-05-06T20:48:49.689Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:71-71
Timestamp: 2026-05-06T20:48:49.689Z
Learning: In vyos/vyos-documentation, the 80-character line-length rule documented under Source conventions / Formatting applies only to documentation source files located under docs/ (e.g., docs/**/*.rst and docs/**/*.md). The rule is enforced by the vyoslinter (doc-linter.py from vyos/.github) when reviewing changed files via lint-doc.yml, and only for files within docs/**. Do not suggest hard-wrapping CLAUDE.md (repo-root documentation) because GitHub renders and reflows content. For CLAUDE.md, reviews should not enforce the 80-char wrapping; apply the rule only to files matching **/docs/**/*.{rst,md}.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:48:54.578Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:80-84
Timestamp: 2026-05-06T20:48:54.578Z
Learning: Enforce the 80-character line-length limit only for documentation source files under docs/ (docs/**/*.rst and docs/**/*.md). Do not flag repo-root files like CLAUDE.md or README.md, since they are rendered by GitHub and not subject to this rule. The doc-linter (doc-linter.py via lint-doc.yml) only lints docs/**, so CI checks won't flag root files for line length.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:48:57.970Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:91-93
Timestamp: 2026-05-06T20:48:57.970Z
Learning: The 80-character line limit applies only to documentation sources under docs/** (RST/MD). Do not enforce this limit on repo-root Markdown files like CLAUDE.md or README.md. The vyoslinter (doc-linter.py, run via lint-doc.yml from vyos/.github) lints only changed files within docs/**; root files are excluded. GitHub renders root Markdown with viewport-width reflow, so hard-wrapping these files reduces readability without tooling benefit.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:49:00.044Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:108-108
Timestamp: 2026-05-06T20:49:00.044Z
Learning: Limit the 80-character line length check and vyoslinter (doc-linter.py) enforcement to documentation source files under docs/**/*.{rst,md}. Do not apply or flag line-length issues in repo-root files like CLAUDE.md or README.md, which are rendered directly by GitHub and are not linted by lint-doc.yml. This pattern narrows checks to Sphinx source docs and prevents false positives in non-doc files.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:48:53.302Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:79-79
Timestamp: 2026-05-06T20:48:53.302Z
Learning: Limit line length to 80 characters only for documentation sources under the docs directory (docs/**/*.rst and docs/**/*.md). This is enforced by the vyoslinter doc-linter.py (from the vyos/.github repo) via lint-doc.yml on changed files under docs/**. Do not flag line-length violations in repository-root Markdown files like CLAUDE.md or README.md, as they are rendered by GitHub and reflow in the UI.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:49:15.361Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:163-163
Timestamp: 2026-05-06T20:49:15.361Z
Learning: In vyos/vyos-documentation, enforce the 80-character line-length limit (Source conventions / Formatting) only for Sphinx documentation source files under docs/**/*.rst and docs/**/*.md. The lint-doc.yml workflow runs the doc-linter (doc-linter.py) and checks only docs/** changed files. Files in the repository root (e.g., CLAUDE.md, README.md) are rendered by GitHub and are not subject to this rule; do not flag line-length violations in those files.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:48:50.446Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:64-64
Timestamp: 2026-05-06T20:48:50.446Z
Learning: Enforce the 80-character line-length limit only for documentation source files under docs/ (docs/**/*.md and docs/**/*.rst rendered by Sphinx and linted by vyoslinter via lint-doc.yml). Do not flag line-length issues in repository-root Markdown files such as CLAUDE.md or README.md, which GitHub renders with viewport-width reflow. This applies to all files within docs/ that are part of the documentation source.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
📚 Learning: 2026-05-06T20:49:10.359Z
Learnt from: andamasov
Repo: vyos/vyos-documentation PR: 1902
File: CLAUDE.md:142-142
Timestamp: 2026-05-06T20:49:10.359Z
Learning: In vyos/vyos-documentation, the 80-character line limit and vyoslinter enforcement apply only to documentation source files under docs/**/*.rst and docs/**/*.md that Sphinx renders. Repo-root files such as CLAUDE.md and README.md are outside the linter's scope (lint-doc.yml runs on docs/**) and are rendered by GitHub with automatic paragraph reflow — do not flag line-length violations in these files.

Applied to files:

  • docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md
🔍 Remote MCP Context7, vyos.dev

Context7

  • auth-user-pass without a filename prompts for username/password; OpenVPN servers must configure username/password verification. (Source: Context7 · query-docs)
  • OpenVPN 2.5+ uses data-ciphers; clients and servers need a shared cipher or negotiation fails. (Source: Context7 · query-docs)

vyos.dev

  • VyOS task examples use encryption data-ciphers 'aes256' for OpenVPN interfaces. (Source: vyos.dev · maniphest-get)
  • VyOS task T571 records adding openvpn-auth-ldap to the base image. (Source: vyos.dev · maniphest-get)
  • A 2024 package report lists OpenVPN 2.6.3 and openvpn-auth-ldap 2.0.4; this is an environment-specific report, not confirmation for every VyOS build. (Source: vyos.dev · maniphest-get)
🔇 Additional comments (3)
docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md (1)

1-4: LGTM!

Also applies to: 14-18, 25-28, 31-42, 45-47, 50-60, 66-69, 75-75, 82-82, 88-90, 93-99, 112-113, 119-122, 128-129, 143-143

docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config (1)

3-4: LGTM!

docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ovpn-server.conf (1)

1-2: LGTM!

Also applies to: 5-5


📝 Summary

Summary by CodeRabbit

  • Documentation
    • Updated the OpenVPN with LDAP guide with Active Directory setup steps, authentication requirements, certificate and client-profile guidance, and a warning that the LDAP example does not use TLS.
    • Replaced example certificate and password values with placeholders and clarified how to prompt for LDAP credentials.
    • Corrected interface commands and added the aes256 data cipher in the server example; removed the sample static route.
    • Updated the client example and added guidance for checking client connectivity.

Walkthrough

The OpenVPN LDAP guide and included configurations update Active Directory setup, certificate and LDAP authentication, certificate handling, and client-profile instructions. The examples also change cipher syntax, correct interface commands, remove a static route, and add a server status check.

Changes

OpenVPN LDAP authentication

Layer / File(s) Summary
Active Directory and LDAP authentication
docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md:1-60, docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ldap-auth.config:3-4
The guide updates the AD DS setup, identifies the LDAP bind account, and explains that both client-certificate and LDAP credential checks must succeed. It also notes that the example does not enable TLS for LDAP.
Certificate generation and client profile
docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md:66-99, docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md:112-122
The guide revises certificate-generation steps and replaces embedded certificate and key material with placeholders. It explains that the client profile includes the client private key and instructs adding top-level auth-user-pass.
Server and client example configuration
docs/configexamples/autotest/OpenVPN_with_LDAP/_include/ovpn-server.conf:1-15, docs/configexamples/autotest/OpenVPN_with_LDAP/OpenVPN_with_LDAP.md:128-143
The server example corrects interface commands, adds aes256 as the data cipher, and removes the static route. The client example updates cipher syntax and uses a password placeholder. The guide adds a server status command to check client connectivity.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to f35cc

The AD account-creation omission remains in the lab instructions but predates this PR; the removed route is unused, and the status command is confirmed by the lab log. This change adds no new documented-workflow failure, so merge risk is minimal.

Security Architecture Review

Security architecture risk: 🔵 Low · up to f35cc

The guide clarifies existing certificate-plus-LDAP authentication and replaces literal credential examples with placeholders. No new vulnerability or production deployment change is established. Account creation, directory binding, and recovery after interrupted setup remain unverified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The documented exposure is a lab VPN and its directory connection. A successful authenticated client receives a route toward 192.168.1.0/24, but actual access depends on firewall and deployment policy not supplied here. No broader tenant, service, or production exposure is established.

Security Findings and Attack Paths

  • inferred — If operated as documented, the non-TLS directory connection could expose LDAP authentication traffic to an on-path attacker. That transport condition already exists in base; no PR-introduced interception path or broader effective exposure has been demonstrated.

Trust Boundaries and Controls

  • observed — The documented controls retain certificate authentication, a server-side LDAP plugin, and separate client and bind credentials. The head adds explicit private-key protection guidance. Runtime rejection of missing certificates, failed directory binds, or invalid user credentials is not verified by the documentation.

Resilience and Maintainability Implications

  • inferred — The corrected bind-account spelling aligns the guide's intended identities, but account creation and successful binding remain unproven. Interrupted or repeated setup could leave incomplete account or configuration state; the supplied evidence does not establish that such states bypass authentication or grant additional authority.

Hardening Proposals

  • proposed — For production adaptations, use certificate-validated LDAP TLS and explicitly scoped directory access. Verify account attributes, bind compatibility, authentication rejection paths, and recovery after interrupted provisioning before exposing the VPN. These are hardening proposals beyond the test-only lab, not observed PR regressions.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title identifies the OpenVPN with LDAP lab documentation update. It is concise and relevant, though it emphasizes proofreading rather than the specific technical corrections.
Description check ✅ Passed The description summarizes the documentation changes, including LDAP setup, client authentication, cipher settings, and plaintext LDAP warnings.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
✨ Simplify code
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@mergify mergify Bot added the rolling label Oct 1, 2026
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @eli-sterling's task in 3m 39s —— View job


VyOS Documentation Review

  • Read pass1-findings.json (empty — no deterministic findings)
  • Review changed .md and config files
  • Cross-reference commands with .vyos-1x/ (rolling)
  • Post inline comment for the one follow-up noted
  • Post summary

Issues

None. The three files in this PR are correct against vyos-1x rolling:

  • set interfaces ethernet … (plural) matches .reference-db/extracted/interfaces-openvpn.json and the rolling CLI.
  • set interfaces openvpn vtun10 encryption data-ciphers 'aes256' — aes256 is in the regex/completion for both encryption cipher and encryption data-ciphers.
  • set interfaces openvpn vtun10 hash 'sha512' — sha512 is a valid completion value.
  • set interfaces openvpn vtun10 authentication password '<user01-password>' — the placeholder is accepted by the [[:ascii:]]{1,512} constraint (though it would need a real value at commit time).
  • run generate pki ca install OVPN-CA, … certificate sign OVPN-CA install …, … dh install DH all map to .vyos-1x/op-mode-definitions/pki.xml.in.
  • generate openvpn client-config interface vtun10 ca OVPN-CA certificate CLIENT matches .vyos-1x/op-mode-definitions/generate-openvpn-config-client.xml.in, and the template in src/op_mode/generate_ovpn_client_file.py does emit <key>…</key> (so the doc's "contains the client private key" claim is accurate). The template does not emit auth-user-pass, so the instruction to add it manually for the LDAP flow is correct.
  • show openvpn server matches op-mode-definitions/openvpn.xml.in.
  • Dropping the stale set protocols static route 10.1.1.0/24 interface vtun10 is sensible — nothing in the lab referenced the 10.1.1.0/24 network.

Needs Verification

One out-of-scope follow-up noted inline on _include/client.conf: that autotest companion still uses vtun1, the literal P4ssw0rd123, and has no encryption data-ciphers, so it will negotiate with the updated server differently than the MD snippet implies. Not part of this PR's diff — just flagged so it isn't forgotten.

Stats

  • Validated 1 MyST file. Skipped 0 RST files awaiting MyST migration.
  • Files reviewed: 3 (1 MyST, 2 include configs).
  • Commands cross-checked: ~15 (interfaces openvpn … subtree, generate pki …, generate openvpn client-config …, show openvpn server).
  • Branch reviewed: rolling (vyos-1x: rolling).
    · Branch: docs/openvpn-ldap-proofread

@eli-sterling
eli-sterling marked this pull request as draft October 6, 2026 22:18
@dmbaturin dmbaturin closed this Oct 20, 2026
@eli-sterling
eli-sterling deleted the docs/openvpn-ldap-proofread branch October 21, 2026 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants