Hi all,

i have downloaded the openvpn package from the openvpn site, modified some of the easy-rsa scripts, added bash to pfsense and executed all steps necessary to have certificates for the server and client, keys for server and clients, the DH parameteres and so forth.

Then i went to the web environment and after fill all the required boxes with the information required and applied the SAVE button i get on the web environment this warning:

Warning: Missing argument 1 for ovpn_config_server() in /etc/inc/openvpn.inc on line 127 Warning: Invalid argument supplied for foreach() in /etc/inc/openvpn.inc on line 130


This lines refers to this portion of the code:


125 /* Configure the server */
126 function ovpn_config_server($reconfigure) {
127    global $config, $g;
128
129    foreach ($config['ovpn']['server']['tunnel'] as $id => $server) {
130            /* get tunnel interface */
131            $tun = $server['tun_iface'];
132

Is something missing related to the TUN interface. Should it be defined always on the box so in case to enable OpenVPN this would be present on the system?

I look forward to receive your comments and suggestions.
Regards,

jonathan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to