VPN profiles require the Internal network scanning add-on.
When to use Custom OpenVPN
Use this option when:- You already have an OpenVPN server deployed
- You want to use your existing VPN infrastructure
- Corporate policy requires using your own VPN
Prerequisites
- An existing OpenVPN server accessible from the internet
- OpenVPN configuration file (.ovpn)
- Optional: Username and password if your server requires authentication
Setup process
Configuration file requirements
Your .ovpn configuration file should contain:- Server endpoint (IP or hostname)
- Port and protocol
- Certificates and keys (inline or referenced)
- Encryption settings
OpenVPN server requirements
Your OpenVPN server must:- Be reachable from the Pentest-Tools.com scanning infrastructure
- Route traffic to your internal network
Whitelisting Pentest-Tools.com
When using a Custom OpenVPN profile, the platform connects to your OpenVPN server fromvpn2.pentest-tools.com (109.74.200.91). Make sure your firewall allows inbound connections from this address on the port your OpenVPN server uses.
The full list of scanner IP addresses (used for all scan traffic, not just VPN) is available at Source IP addresses.
Recommended server configuration
Testing the connection
After configuration, verify your OpenVPN server is reachable:- Go to Settings > VPN Profiles
- Click on your profile name to open the details panel
- Click Test connection
- The platform will attempt to connect to your OpenVPN server
- Status shows Success if the test passes
Unlike VPN Agent profiles, Custom OpenVPN profiles do not show Online/Offline status. The platform connects to your OpenVPN server on-demand when running scans. Use Test connection to verify your configuration works correctly.
Troubleshooting
Connection fails
Connection fails
- Verify the OpenVPN server is reachable from
vpn2.pentest-tools.com(109.74.200.91) - Check server firewall rules allow connections on the configured port
- Check that the configuration file is valid and not corrupted
- Check the connection logs for specific error messages
Scans timeout
Scans timeout
- Verify the VPN server can reach the target
- Check internal firewall rules
- Check that routing is configured on the OpenVPN server