[PR #1417] [MERGED] feat: add configurable MTU support #404

Closed
opened 2026-11-11 16:41:38 +01:00 by Alvin-Zilverstand · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/angristan/openvpn-install/pull/1417
Author: @angristan
Created: 12/15/2025
Status: ✅ Merged
Merged: 12/15/2025
Merged by: @angristan

Base: master ← Head: feat/mtu-support


📝 Commits (3)

  • 1e2dc19 feat: add configurable MTU support
  • 430ca38 fix: use consistent bracket style for MTU validation and add MTU tests
  • 5d87d5b docs: add MTU to features list in README

📊 Changes

3 files changed (+67 additions, -0 deletions)

View changed files

📝 README.md (+2 -0)
📝 openvpn-install.sh (+38 -0)
📝 test/server-entrypoint.sh (+27 -0)

📄 Description

Summary

  • Add --mtu <size> CLI option to configure tunnel MTU (valid range: 576-65535)
  • Add interactive prompt with user-friendly explanation for non-technical users
  • Write tun-mtu to server.conf and client template when custom value is set
  • OpenVPN auto-calculates MSSFIX based on the MTU value (no separate option needed)

Use cases

  • PPPoE connections (typically need MTU ~1492)
  • Mobile/cellular networks with variable MTU
  • Networks with connectivity issues due to fragmentation

Usage

# CLI mode
./openvpn-install.sh install --mtu 1400

# Interactive mode prompts with explanation:
# "MTU controls the maximum packet size. Lower values can help
#  with connectivity issues on some networks (e.g., PPPoE, mobile)."

Close https://github.com/angristan/openvpn-install/pull/1300


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/angristan/openvpn-install/pull/1417 **Author:** [@angristan](https://github.com/angristan) **Created:** 12/15/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@angristan](https://github.com/angristan) **Base:** `master` ← **Head:** `feat/mtu-support` --- ### 📝 Commits (3) - [`1e2dc19`](https://github.com/angristan/openvpn-install/commit/1e2dc19b34c09199aa89ef34d038350c0ccdc3cf) feat: add configurable MTU support - [`430ca38`](https://github.com/angristan/openvpn-install/commit/430ca38d0b5da18c2e4605d9ab21aff996b67d1d) fix: use consistent bracket style for MTU validation and add MTU tests - [`5d87d5b`](https://github.com/angristan/openvpn-install/commit/5d87d5b5351019790f678476bcbb6968783387f2) docs: add MTU to features list in README ### 📊 Changes **3 files changed** (+67 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -0) 📝 `openvpn-install.sh` (+38 -0) 📝 `test/server-entrypoint.sh` (+27 -0) </details> ### 📄 Description ## Summary - Add `--mtu <size>` CLI option to configure tunnel MTU (valid range: 576-65535) - Add interactive prompt with user-friendly explanation for non-technical users - Write `tun-mtu` to server.conf and client template when custom value is set - OpenVPN auto-calculates MSSFIX based on the MTU value (no separate option needed) ## Use cases - PPPoE connections (typically need MTU ~1492) - Mobile/cellular networks with variable MTU - Networks with connectivity issues due to fragmentation ## Usage ```bash # CLI mode ./openvpn-install.sh install --mtu 1400 # Interactive mode prompts with explanation: # "MTU controls the maximum packet size. Lower values can help # with connectivity issues on some networks (e.g., PPPoE, mobile)." ``` Close https://github.com/angristan/openvpn-install/pull/1300 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Alvin-Zilverstand added the pull-request label 2026-11-11 16:41:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/openvpn-install#404