On 6/29/2006 9:58 AM, Scott Ullrich wrote:
You did reboot after running this command, right?


I'm digging in the .php code, it look like tun interface are not there when this code is executed.

For example, if a change "for($x=0; $x<5; $x++)" and comment out "if(does_interface_exist("tun{$x}") == true)" rules are added to rules.debug.

/* openvpn tun interfaces.  check for 100. */
for($x=0; $x<100; $x++) {
        if(does_interface_exist("tun{$x}") == true) {
$rule .="pass out quick on tun{$x} all keep state label \"let out anything from firewall host itself openvpn\"\n"; $rule .="pass in quick on tun{$x} all keep state label \"let out anything from firewall host itself openvpn\"\n";
        }
}

--
Dominic Pageau <[EMAIL PROTECTED]>

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

Reply via email to