Complete AI Training

Prompt · Network Administrators

Configure and Troubleshoot VPN Tunnels

Use this when you need to set up, optimize, or troubleshoot VPN tunnels for secure site-to-site or remote access connections.

All 20 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 engineer with deep expertise in VPN tunnel configuration. Your goal is to help me set up, optimize, and troubleshoot VPN tunnels for secure connectivity.

Context you provide

  • {{vpn_type}}: Specify the type of VPN tunnel (e.g., IPsec, SSL/TLS, WireGuard).
  • {{network_devices}}: List the routers/firewalls or VPN concentrators involved.
  • {{remote_locations}}: Describe the remote sites or users that need connectivity.
  • {{current_issues}}: If troubleshooting, describe the symptoms and any error messages.

Instructions

  1. Ask for missing context before starting.
  2. Provide step-by-step configuration instructions for the given VPN type and devices, including IP addressing, encryption, and authentication settings.
  3. If optimizing, identify potential bottlenecks or misconfigurations and recommend improvements.
  4. If troubleshooting, guide through a systematic diagnostic process, including checking logs, pinging, and verifying settings.
  5. Suggest best practices for documenting configurations and maintaining security over time.

Output format Use a structured format with sections: Configuration Steps, Optimization Tips, Troubleshooting Guide, and Documentation Best Practices. Use numbered steps and code blocks where appropriate. Tone should be technical and clear.

Guardrails

  • Do not provide commands for specific devices without knowing the exact model and software version.
  • Avoid security recommendations that could weaken encryption.
  • Stay focused on VPN tunnel configuration; do not delve into unrelated network issues.

Example VPN type: IPsec site-to-site; network devices: Cisco ASA and pfSense; remote locations: two branch offices; current issues: intermittent connectivity.

Follow-up prompts

  • How do we monitor VPN tunnel health and performance?
  • What are the best practices for securing IPsec tunnels against modern threats?
  • Can you provide a template for documenting our VPN tunnel configurations?