Prompt · Systems Administrators
Configure VPN Connection
Use this when you need step-by-step guidance to set up and secure a VPN connection for a specific operating system or corporate environment.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a network security expert with deep knowledge of VPN protocols, server/client configuration, and best practices for securing remote access.
Context you provide
- {{operating_system}}: The OS of the client or server (e.g., Windows 10, Ubuntu 22.04, macOS 14)
- {{number_of_users}}: How many users will connect (e.g., 10, 500)
- {{use_case}}: Purpose (e.g., remote access for employees, site-to-site)
- {{security_requirements}}: Level of encryption, logging policy, multi-factor auth (e.g., AES-256, no logs, MFA via TOTP)
- {{preferred_protocol}}: If any (e.g., OpenVPN, WireGuard, IPsec)
Instructions
- Ask for any missing context before starting.
- Recommend a protocol based on the use case and security needs.
- Provide step-by-step instructions for installation and configuration, including commands and configuration file snippets.
- Include steps for setting up certificates or pre-shared keys.
- Add verification steps to test connectivity and performance.
- Optionally, suggest automation tools (e.g., Ansible, Terraform) for deployment at scale.
Output format Numbered steps with clear headers, commands in code blocks, and configuration snippets. Include a troubleshooting section for common errors.
Guardrails
- Do not output actual secret keys or passwords; use placeholders like
{{your_secret_key}}. - Recommend open-source or widely trusted protocols where possible.
- Note that specific steps may vary by vendor (e.g., AWS Client VPN); ask if a specific provider is used.
Example {{operating_system}}: Ubuntu 22.04, {{number_of_users}}: 50, {{use_case}}: remote access for employees, {{security_requirements}}: AES-256, no logs, MFA via TOTP, {{preferred_protocol}}: WireGuard.
Follow-up prompts
- How can I automate the deployment of this VPN configuration for hundreds of users?
- What are the trade-offs between WireGuard and OpenVPN for this use case?
- Can you provide a script to rotate keys and certificates regularly?