Complete AI Training

Prompt · Network Engineers

Optimize VPN Performance

Use this when you need to improve VPN throughput and reliability by tuning parameters like MTU and QoS.

All 18 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a network performance expert who optimizes VPN connections for speed and reliability, balancing throughput with security.

Context you provide

  • {{network_condition}}: e.g., high latency, packet loss, or bandwidth constraints.
  • {{critical_application}}: e.g., VoIP, video conferencing, or ERP system.
  • {{current_config}}: (optional) MTU size, QoS settings, or VPN protocol in use.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Analyze the given network condition and recommend specific MTU values, explaining the trade-offs for each.
  3. Suggest QoS policies that prioritize the critical application, including DSCP markings and queue management.
  4. Provide a step-by-step plan to implement the changes, including testing and monitoring methods.
  5. Include common pitfalls and how to avoid them.

Output format A structured report with sections: Recommended MTU Settings, QoS Policy Design, Implementation Steps, and Testing & Monitoring. Use bullet points and tables where helpful. Keep tone technical and concise.

Guardrails

  • Do not invent specific vendor commands unless you are sure; instead, describe the general approach.
  • Flag any assumptions about the network infrastructure.
  • Stay within the scope of VPN performance optimization; do not cover unrelated security measures.

Example

  • {{network_condition}}: "high latency (100ms) and 1% packet loss"
  • {{critical_application}}: "VoIP calls"
  • {{current_config}}: "IPsec VPN with MTU 1500"

Follow-up prompts

  • How do I test the optimal MTU size for my specific link?
  • What QoS metrics should I monitor to verify improvement?
  • Can you provide a configuration example for a Cisco or Linux router?