openvpnserverOpenVPN: Serveropenvpn.incAn OpenVPN server has been deleted.An OpenVPN server has been created/modified.Server/pkg.php?xml=openvpn.xmlClient/pkg.php?xml=openvpn_cli.xmlClient-specific configuration/pkg.php?xml=openvpn_csc.xmldisableDisabledcheckboxprotocolProtocoladdresspoolAddress pooldescriptionDescriptiondisableDisable this tunnelThis allows you to disable this tunnel without removing it from the list.checkboxprotocolProtocolThe protocol to be used for the VPN.selectUDPdynamic_ipDynamic IPAssume dynamic IPs, so that DHCP clients can connect.checkboxlocal_portLocal portThe port OpenVPN will listen on. You generally want 1194 here.input11945addresspoolAddress poolThis is the address pool to be assigned to the clients. Expressed as a CIDR range (eg. 10.0.8.0/24). If the 'Use static IPs' field isn't set, clients will be assigned addresses from this pool. Otherwise, this will be used to set the local interface's IP.inputnopoolUse static IPsIf this option is set, IPs won't be assigned to clients. Instead, the server will use static IPs on its side, and the clients are expected to use this same value in the 'Address pool' field.checkboxlocal_networkLocal networkThis is the network that will be accessable from the remote endpoint. Expressed as a CIDR range. You may leave this blank you don't want to add a route to your network through this tunnel in the remote machine. This is generally set to your LAN network.inputremote_networkRemote networkThis is a network that will be routed through the tunnel, so that a site-to-site VPN can be established without manually changing the routing tables. Expressed as a CIDR range. If this is a site-to-site VPN, enter here the remote LAN here. You may leave this blank if you don't want a site-to-site VPN.inputclient2clientClient-to-client VPNIf this option is set, clients will be able to talk to each other. Otherwise, they will only be able to talk to the server.checkboxcryptoCryptographyHere you can choose the cryptography algorithm to be used.selectBF-CBCauth_methodAuthentication methodThe authentication method to be used.selectonAuthMethodChanged()shared_keyShared keyPaste your shared key here.textareabase64840ca_certCA certificatePaste your CA certificate in X.509 format here.textareabase64840server_certServer certificatePaste your server certificate in X.509 format here.textareabase64840server_keyServer keyPaste your server key in RSA format here.textareabase64840dh_paramsDH parametersPaste your Diffie Hellman parameters in PEM format here.textareabase64840crlCRLPaste your certificate revocation list (CRL) in PEM format here (optional).textareabase64840tlsTLSPaste your HMAC signature (TLS) here (optional).textareabase64840dhcp_domainnameDHCP-Opt.: DNS-DomainnameSet connection-specific DNS Suffix.inputdhcp_dnsDHCP-Opt.: DNS-ServerSet domain name server addresses, separated by semi-colons (;).inputdhcp_winsDHCP-Opt.: WINS-ServerSet WINS server addresses (NetBIOS over TCP/IP Name Server), separated by semi-colons (;).inputdhcp_nbddDHCP-Opt.: NBDD-ServerSet NBDD server addresses (NetBIOS over TCP/IP Datagram Distribution Server), separated by semi-colons (;).inputdhcp_ntpDHCP-Opt.: NTP-ServerSet NTP server addresses (Network Time Protocol), separated by semi-colons (;).inputdhcp_nbttypeDHCP-Opt.: NetBIOS node typeSet NetBIOS over TCP/IP Node type. Possible options: b-node (broadcasts), p-node (point-to-point name queries to a WINS server), m-node (broadcast then query name server), and h-node (query name server, then broadcast).select0dhcp_nbtscopeDHCP-Opt.: NetBIOS ScopeSet NetBIOS over TCP/IP Scope. A NetBIOS Scope ID provides an extended naming service for NetBIOS over TCP/IP. The NetBIOS scope ID isolates NetBIOS traffic on a single network to only those nodes with the same NetBIOS scope ID.inputdhcp_nbtdisableDHCP-Opt.: Disable NetBIOSIf this option is set, Netbios-over-TCP/IP will be disabled.checkboxuse_lzoLZO compressionChecking this will compress the packets using the LZO algorithm before sending them.checkboxmaxclientsMaximum clientsThe maximum number of concurrently connected clients we want to allow.inputpasstosPass Type-Of-ServiceChecking this will set the TOS field of the tunnel packet to what the payload's TOS is.checkboxcustom_optionsCustom optionsYou can put your own custom options here, separated by semi-colons (;). They'll be added to the server configuration.textarea655descriptionDescriptionYou may enter a description here. This is optional and is not parsed.input
openvpn_get_ciphers(&$pkg);
openvpn_print_javascript('server');
openvpn_print_javascript2();
openvpn_validate_input('server', $_POST, &$input_errors);
openvpn_resync('server', $id);