#!/usr/local/bin/php <?=gentitle("VPN: OpenVPN");?>

VPN: OpenVPN

WARNING: This feature is experimental and modifies your optional interface configuration. Backup your configuration before using OpenVPN, and restore it before upgrading.
 
  > Enable OpenVPN server
Tunnel type > TUN  > TAP
OpenVPN protocol/port > UDP  > TCP

Port:
Enter the port number to use for the server (default is 5000).
Interface binding
Choose an interface for the OpenVPN server to listen on.
IP address block /
Enter the IP address block for the OpenVPN server and clients to use.

Maximum number of simultaneous clients:
CA certificate
Paste a CA certificate in X.509 PEM format here. Create all certificates.
Server certificate
Paste a server certificate in X.509 PEM format here.
Server key
Paste the server RSA private key here.
DH parameters
Paste the Diffie-Hellman parameters in PEM format here.
Crypto
Select a data channel encryption cipher.
Internal routing mode > Enable client-to-client routing
If this option is on, clients are allowed to talk to each other.
Client authentication > Permit duplicate client certificates
If this option is on, clients with duplicate certificates will not be disconnected.
Client-push options
> Redirect-gateway   > Local
> Route-delay   seconds
> Inactive   seconds
> Ping   Interval: seconds
> Ping-exit   Interval: seconds
> Ping-restart   Interval: seconds
 
  Note:
Changing any settings on this page will disconnect all clients!